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/assists/src/handlers/replace_string_with_char.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crates/assists/src/handlers/replace_string_with_char.rs') diff --git a/crates/assists/src/handlers/replace_string_with_char.rs b/crates/assists/src/handlers/replace_string_with_char.rs index b4b898846..317318c24 100644 --- a/crates/assists/src/handlers/replace_string_with_char.rs +++ b/crates/assists/src/handlers/replace_string_with_char.rs @@ -8,7 +8,7 @@ use crate::{AssistContext, AssistId, AssistKind, Assists}; // // ``` // fn main() { -// find("{<|>"); +// find("{$0"); // } // ``` // -> @@ -48,7 +48,7 @@ mod tests { replace_string_with_char, r#" fn f() { - let s = "<|>c"; + let s = "$0c"; } "#, r#""c""#, @@ -61,7 +61,7 @@ mod tests { replace_string_with_char, r#" fn f() { - let s = "<|>c"; + let s = "$0c"; } "#, r##" @@ -78,7 +78,7 @@ mod tests { replace_string_with_char, r#" fn f() { - let s = "<|>😀"; + let s = "$0😀"; } "#, r##" @@ -95,7 +95,7 @@ mod tests { replace_string_with_char, r#" fn f() { - let s = "<|>test"; + let s = "$0test"; } "#, ) @@ -107,7 +107,7 @@ mod tests { replace_string_with_char, r#" fn f() { - format!(<|>"x", 92) + format!($0"x", 92) } "#, r##" @@ -124,7 +124,7 @@ mod tests { replace_string_with_char, r#" fn f() { - find(<|>"x"); + find($0"x"); } "#, r##" -- cgit v1.2.3