diff --git a/src/ast/mod.rs b/src/ast/mod.rs index da80ff368..06841efa9 100644 --- a/src/ast/mod.rs +++ b/src/ast/mod.rs @@ -1826,9 +1826,8 @@ pub enum Statement { Pragma { name: ObjectName, value: Option, - is_eq: bool - } - + is_eq: bool, + }, } impl fmt::Display for Statement { @@ -3187,11 +3186,7 @@ impl fmt::Display for Statement { } => { write!(f, "CREATE TYPE {name} AS {representation}") } - Statement::Pragma { - name, - value, - is_eq - } => { + Statement::Pragma { name, value, is_eq } => { write!(f, "PRAGMA {name}")?; if value.is_some() { let val = value.as_ref().unwrap(); diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 065212343..75e47afac 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -7418,7 +7418,7 @@ impl<'a> Parser<'a> { Ok(Statement::Pragma { name, value: None, - is_eq: false + is_eq: false, }) } }