Add cfg sqlite condition

This commit is contained in:
Eric Semeniuc 2020-11-14 09:21:47 -08:00 committed by Ryan Leckey
parent c64b9bee45
commit 7cc0ecb981
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9

View File

@ -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;