From 924d3554130bdc8233c2e9b560bf0b973da98154 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Thu, 18 Jan 2024 18:35:28 +0800 Subject: [PATCH] Fix clippy warnings --- src/mysql/writer/mod.rs | 6 ------ src/postgres/writer/mod.rs | 7 ------- src/probe.rs | 1 + 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/mysql/writer/mod.rs b/src/mysql/writer/mod.rs index 5c2bae8d..21a5794f 100644 --- a/src/mysql/writer/mod.rs +++ b/src/mysql/writer/mod.rs @@ -6,12 +6,6 @@ mod index; mod table; mod types; -pub use column::*; -pub use foreign_key::*; -pub use index::*; -pub use table::*; -pub use types::*; - use super::def::Schema; use sea_query::TableCreateStatement; diff --git a/src/postgres/writer/mod.rs b/src/postgres/writer/mod.rs index fb935fc5..00a2c2c4 100644 --- a/src/postgres/writer/mod.rs +++ b/src/postgres/writer/mod.rs @@ -5,13 +5,6 @@ mod schema; mod table; mod types; -pub use column::*; -pub use constraints::*; -pub use enumeration::*; -pub use schema::*; -pub use table::*; -pub use types::*; - use super::def::Schema; use sea_query::TableCreateStatement; diff --git a/src/probe.rs b/src/probe.rs index 8bc943d1..4652f2f7 100644 --- a/src/probe.rs +++ b/src/probe.rs @@ -53,6 +53,7 @@ pub enum Has { Index, } +#[allow(clippy::enum_variant_names)] #[derive(Debug, Iden)] pub(crate) enum Schema { #[iden = "information_schema"]