Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/syntax_editor.rs')
-rw-r--r--crates/syntax/src/syntax_editor.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/syntax/src/syntax_editor.rs b/crates/syntax/src/syntax_editor.rs
index 992a847663..81c52e26cf 100644
--- a/crates/syntax/src/syntax_editor.rs
+++ b/crates/syntax/src/syntax_editor.rs
@@ -344,7 +344,8 @@ mod tests {
make::expr_literal("2").into(),
),
make::expr_literal("true").into(),
- ]),
+ ])
+ .into(),
);
let to_wrap = root.syntax().descendants().find_map(ast::TupleExpr::cast).unwrap();