Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clippy warnings #121

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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