From 72b9a4fbd3c12f3250b9157a1d44230e04ec8b22 Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Wed, 6 Jan 2021 20:15:48 +0000 Subject: Change <|> to $0 - Rebase --- crates/completion/src/completions/fn_param.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/completion/src/completions/fn_param.rs') diff --git a/crates/completion/src/completions/fn_param.rs b/crates/completion/src/completions/fn_param.rs index e777a53c1..5505c3559 100644 --- a/crates/completion/src/completions/fn_param.rs +++ b/crates/completion/src/completions/fn_param.rs @@ -81,7 +81,7 @@ mod tests { r#" fn foo(file_id: FileId) {} fn bar(file_id: FileId) {} -fn baz(file<|>) {} +fn baz(file$0) {} "#, expect![[r#" bn file_id: FileId @@ -94,7 +94,7 @@ fn baz(file<|>) {} check( r#" fn foo(file_id: FileId) {} -fn baz(file<|>, x: i32) {} +fn baz(file$0, x: i32) {} "#, expect![[r#" bn file_id: FileId @@ -110,7 +110,7 @@ pub(crate) trait SourceRoot { pub fn contains(&self, file_id: FileId) -> bool; pub fn module_map(&self) -> &ModuleMap; pub fn lines(&self, file_id: FileId) -> &LineIndex; - pub fn syntax(&self, file<|>) + pub fn syntax(&self, file$0) } "#, expect![[r#" @@ -124,7 +124,7 @@ pub(crate) trait SourceRoot { check( r#" fn outer(text: String) { - fn inner(<|>) + fn inner($0) } "#, expect![[r#" -- cgit v1.2.3