Skip to content

Commit 3e8b141

Browse files
committed
Use display_comma_separated to print exprs
1 parent 4b8c6fe commit 3e8b141

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ast/query.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,11 +1687,7 @@ impl fmt::Display for OrderByExpr {
16871687
Some(exprs) => write!(
16881688
f,
16891689
" INTERPOLATE ({})",
1690-
exprs
1691-
.iter()
1692-
.map(std::string::ToString::to_string)
1693-
.collect::<Vec<_>>()
1694-
.join(", ")
1690+
display_comma_separated(exprs)
16951691
)?,
16961692
None => write!(f, " INTERPOLATE")?,
16971693
}

0 commit comments

Comments
 (0)