Skip to content

Commit 8986b33

Browse files
committed
Remove the else condition
1 parent b0a36ed commit 8986b33

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/ast/mod.rs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3316,18 +3316,17 @@ impl fmt::Display for Statement {
33163316

33173317
if *query_plan {
33183318
write!(f, "QUERY PLAN ")?;
3319-
} else {
3320-
if *analyze {
3321-
write!(f, "ANALYZE ")?;
3322-
}
3319+
}
3320+
if *analyze {
3321+
write!(f, "ANALYZE ")?;
3322+
}
33233323

3324-
if *verbose {
3325-
write!(f, "VERBOSE ")?;
3326-
}
3324+
if *verbose {
3325+
write!(f, "VERBOSE ")?;
3326+
}
33273327

3328-
if let Some(format) = format {
3329-
write!(f, "FORMAT {format} ")?;
3330-
}
3328+
if let Some(format) = format {
3329+
write!(f, "FORMAT {format} ")?;
33313330
}
33323331

33333332
if let Some(options) = options {

0 commit comments

Comments
 (0)