Skip to content

Commit d9847eb

Browse files
committed
fixing lints pt.1
1 parent a80b488 commit d9847eb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ast/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,7 +2167,7 @@ pub enum Statement {
21672167
#[cfg_attr(feature = "derive-visitor", drive(skip))]
21682168
if_exists: bool,
21692169
mirror_name: ObjectName,
2170-
}
2170+
},
21712171
}
21722172

21732173
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
@@ -3661,7 +3661,7 @@ impl fmt::Display for Statement {
36613661
Statement::ExecuteMirror { mirror_name } => {
36623662
write!(f, "EXECUTE MIRROR {mirror_name}", mirror_name = mirror_name)?;
36633663
Ok(())
3664-
},
3664+
}
36653665
Statement::PauseMirror {
36663666
if_exists,
36673667
mirror_name,

tests/sqlparser_postgres.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3636,7 +3636,6 @@ fn parse_drop_mirror_if_exists() {
36363636
}
36373637
}
36383638

3639-
36403639
#[test]
36413640
fn parse_pause_mirror() {
36423641
match pg().verified_stmt("PAUSE MIRROR m1") {

0 commit comments

Comments
 (0)