From 2c84c2d07af013006b8092c7303aa8c73f677fea Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 22 Dec 2020 19:18:45 +0300 Subject: Don't think that /submod.rs is /mod.rs --- crates/assists/src/handlers/extract_module_to_file.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/assists/src') 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; extract_module_to_file, r#" //- /main.rs -mod submodule; -//- /submodule.rs +mod submod; +//- /submod.rs mod inner<|> { fn f() {} } fn g() {} "#, r#" -//- /submodule.rs +//- /submod.rs mod inner; fn g() {} -//- /submodule/inner.rs +//- /submod/inner.rs fn f() {} "#, ); -- cgit v1.2.3