Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jan 18, 2024
1 parent 6b5fbdc commit 924d355
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
6 changes: 0 additions & 6 deletions src/mysql/writer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
7 changes: 0 additions & 7 deletions src/postgres/writer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions src/probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ pub enum Has {
Index,
}

#[allow(clippy::enum_variant_names)]
#[derive(Debug, Iden)]
pub(crate) enum Schema {
#[iden = "information_schema"]
Expand Down

0 comments on commit 924d355

Please sign in to comment.