aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_assists/src/handlers')
-rw-r--r--crates/ra_assists/src/handlers/add_function.rs13
1 files changed, 2 insertions, 11 deletions
diff --git a/crates/ra_assists/src/handlers/add_function.rs b/crates/ra_assists/src/handlers/add_function.rs
index b65ded871..9bd46f5dc 100644
--- a/crates/ra_assists/src/handlers/add_function.rs
+++ b/crates/ra_assists/src/handlers/add_function.rs
@@ -907,23 +907,14 @@ mod foo;
907fn main() { 907fn main() {
908 foo::bar<|>() 908 foo::bar<|>()
909} 909}
910
911//- /foo.rs 910//- /foo.rs
912
913", 911",
914 r" 912 r"
915//- /main.rs
916mod foo;
917 913
918fn main() {
919 foo::bar()
920}
921 914
922//- /foo.rs 915pub(crate) fn bar() {
923fn bar() {
924 <|>todo!() 916 <|>todo!()
925} 917}",
926",
927 ) 918 )
928 } 919 }
929 920