Skip to content

Commit

Permalink
fix: Clippy warnings (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrivosheev authored and tyt2y3 committed Aug 17, 2022
1 parent 90245f1 commit e445098
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sea-query-derive/src/iden_attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use syn::{Attribute, Error, Ident, Lit, Meta, MetaNameValue, NestedMeta};

use crate::{error::ErrorMsg, iden_path::IdenPath};

#[derive(PartialEq)]
#[derive(PartialEq, Eq)]
pub enum IdenAttr {
Rename(String),
Method(Ident),
Expand Down
2 changes: 1 addition & 1 deletion src/backend/foreign_key_builder.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::*;

#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum Mode {
Creation,
Alter,
Expand Down
2 changes: 1 addition & 1 deletion src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct Tokenizer {
pub p: usize,
}

#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum Token {
Quoted(String),
Unquoted(String),
Expand Down

0 comments on commit e445098

Please sign in to comment.