aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/libeditor/src/scope/fn_scope.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/libeditor/src/scope/fn_scope.rs b/crates/libeditor/src/scope/fn_scope.rs
index 42cd71eb5..abc8d34e7 100644
--- a/crates/libeditor/src/scope/fn_scope.rs
+++ b/crates/libeditor/src/scope/fn_scope.rs
@@ -261,11 +261,11 @@ mod tests {
261 fn test_lambda_scope() { 261 fn test_lambda_scope() {
262 do_check(r" 262 do_check(r"
263 fn quux(foo: i32) { 263 fn quux(foo: i32) {
264 let f = |bar| { 264 let f = |bar, baz: i32| {
265 <|> 265 <|>
266 }; 266 };
267 }", 267 }",
268 &["bar", "foo"], 268 &["bar", "baz", "foo"],
269 ); 269 );
270 } 270 }
271 271