aboutsummaryrefslogtreecommitdiff
path: root/crates/assists
diff options
context:
space:
mode:
Diffstat (limited to 'crates/assists')
-rw-r--r--crates/assists/src/handlers/extract_module_to_file.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/assists/src/handlers/extract_module_to_file.rs b/crates/assists/src/handlers/extract_module_to_file.rs
index 3e67fdca2..50bf67ef7 100644
--- a/crates/assists/src/handlers/extract_module_to_file.rs
+++ b/crates/assists/src/handlers/extract_module_to_file.rs
@@ -91,18 +91,18 @@ mod tests;
91 extract_module_to_file, 91 extract_module_to_file,
92 r#" 92 r#"
93//- /main.rs 93//- /main.rs
94mod submodule; 94mod submod;
95//- /submodule.rs 95//- /submod.rs
96mod inner<|> { 96mod inner<|> {
97 fn f() {} 97 fn f() {}
98} 98}
99fn g() {} 99fn g() {}
100"#, 100"#,
101 r#" 101 r#"
102//- /submodule.rs 102//- /submod.rs
103mod inner; 103mod inner;
104fn g() {} 104fn g() {}
105//- /submodule/inner.rs 105//- /submod/inner.rs
106fn f() {} 106fn f() {}
107"#, 107"#,
108 ); 108 );