Skip to content

Commit 1786faa

Browse files
committed
fmt
1 parent f8060f7 commit 1786faa

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

src/ast/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10150,7 +10150,12 @@ pub struct ExportData {
1015010150

1015110151
impl fmt::Display for ExportData {
1015210152
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
10153-
write!(f, "EXPORT DATA OPTIONS({}) AS {}", display_comma_separated(&self.options), self.query)
10153+
write!(
10154+
f,
10155+
"EXPORT DATA OPTIONS({}) AS {}",
10156+
display_comma_separated(&self.options),
10157+
self.query
10158+
)
1015410159
}
1015510160
}
1015610161
/// Creates a user

src/ast/spans.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,10 @@ impl Spanned for Statement {
532532
Statement::Return { .. } => Span::empty(),
533533
Statement::List(..) | Statement::Remove(..) => Span::empty(),
534534
Statement::ExportData(ExportData { options, query }) => union_spans(
535-
options.iter().map(|i| i.span()).chain(core::iter::once(query.span()))
535+
options
536+
.iter()
537+
.map(|i| i.span())
538+
.chain(core::iter::once(query.span())),
536539
),
537540
Statement::CreateUser(..) => Span::empty(),
538541
}

0 commit comments

Comments
 (0)