From 7cc0ecb981e66c6f4169cacb78656df283d1f74a Mon Sep 17 00:00:00 2001 From: Eric Semeniuc <3838856+esemeniuc@users.noreply.github.com> Date: Sat, 14 Nov 2020 09:21:47 -0800 Subject: [PATCH] Add cfg sqlite condition --- sqlx-core/src/migrate/migrator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sqlx-core/src/migrate/migrator.rs b/sqlx-core/src/migrate/migrator.rs index 252ed6be..bdd46786 100644 --- a/sqlx-core/src/migrate/migrator.rs +++ b/sqlx-core/src/migrate/migrator.rs @@ -48,6 +48,7 @@ impl Migrator { /// /// ```rust,no_run /// # use sqlx_core::migrate::MigrateError; + /// # [cfg(feature = "sqlite")] /// # fn main() -> Result<(), MigrateError> { /// # sqlx_rt::block_on(async move { /// # use sqlx_core::migrate::Migrator;