There was an error while loading. Please reload this page.
1 parent 217cf52 commit c1f539fCopy full SHA for c1f539f
1 file changed
rust/extractor/src/translate/base.rs
@@ -830,8 +830,8 @@ impl<'db> Translator<'db> {
830
let (parsed, output_span_map) =
831
token_tree_to_syntax_node(&output, TopEntryPoint::Expr, &mut |_| edition);
832
let root = parsed.syntax_node();
833
- let expr =
834
- ast::Expr::cast(root.clone()).or_else(|| root.descendants().find_map(ast::Expr::cast))?;
+ let expr = ast::Expr::cast(root.clone())
+ .or_else(|| root.descendants().find_map(ast::Expr::cast))?;
835
// Sanity check: the parsed expression must contain the reconstructed
836
// `FormatArgsExpr` (either directly, or wrapped in the callee above).
837
expr.syntax()
0 commit comments