Skip to content

Commit c1f539f

Browse files
committed
Rust: rustfmt the reconstruction helper
1 parent 217cf52 commit c1f539f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • rust/extractor/src/translate

rust/extractor/src/translate/base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,8 @@ impl<'db> Translator<'db> {
830830
let (parsed, output_span_map) =
831831
token_tree_to_syntax_node(&output, TopEntryPoint::Expr, &mut |_| edition);
832832
let root = parsed.syntax_node();
833-
let expr =
834-
ast::Expr::cast(root.clone()).or_else(|| root.descendants().find_map(ast::Expr::cast))?;
833+
let expr = ast::Expr::cast(root.clone())
834+
.or_else(|| root.descendants().find_map(ast::Expr::cast))?;
835835
// Sanity check: the parsed expression must contain the reconstructed
836836
// `FormatArgsExpr` (either directly, or wrapped in the callee above).
837837
expr.syntax()

0 commit comments

Comments
 (0)