aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src
diff options
context:
space:
mode:
authorUnreal Hoang <[email protected]>2019-05-16 04:53:52 +0100
committerUnreal Hoang <[email protected]>2019-05-16 04:53:52 +0100
commit99ad6143cdbd783e969649d9243aaa2e5a8131c4 (patch)
tree9894f143a75341f771596b08ada55a5835597b0f /crates/ra_assists/src
parent64ab5ab10d32e7e8ec085af818d3d94211aea39b (diff)
rename
Diffstat (limited to 'crates/ra_assists/src')
-rw-r--r--crates/ra_assists/src/lib.rs4
-rw-r--r--crates/ra_assists/src/move_guard_to_arm_body_and_back.rs (renamed from crates/ra_assists/src/move_guard_to_arm_body.rs)0
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/lib.rs b/crates/ra_assists/src/lib.rs
index ae97a1ab5..70197e3cd 100644
--- a/crates/ra_assists/src/lib.rs
+++ b/crates/ra_assists/src/lib.rs
@@ -100,7 +100,7 @@ mod split_import;
100mod remove_dbg; 100mod remove_dbg;
101pub mod auto_import; 101pub mod auto_import;
102mod add_missing_impl_members; 102mod add_missing_impl_members;
103mod move_guard_to_arm_body; 103mod move_guard_to_arm_body_and_back;
104 104
105fn all_assists<DB: HirDatabase>() -> &'static [fn(AssistCtx<DB>) -> Option<Assist>] { 105fn all_assists<DB: HirDatabase>() -> &'static [fn(AssistCtx<DB>) -> Option<Assist>] {
106 &[ 106 &[
@@ -119,7 +119,7 @@ fn all_assists<DB: HirDatabase>() -> &'static [fn(AssistCtx<DB>) -> Option<Assis
119 add_missing_impl_members::add_missing_impl_members, 119 add_missing_impl_members::add_missing_impl_members,
120 add_missing_impl_members::add_missing_default_members, 120 add_missing_impl_members::add_missing_default_members,
121 inline_local_variable::inline_local_varialbe, 121 inline_local_variable::inline_local_varialbe,
122 move_guard_to_arm_body::move_guard_to_arm_body, 122 move_guard_to_arm_body_and_back::move_guard_to_arm_body,
123 ] 123 ]
124} 124}
125 125
diff --git a/crates/ra_assists/src/move_guard_to_arm_body.rs b/crates/ra_assists/src/move_guard_to_arm_body_and_back.rs
index a8ca19f5d..a8ca19f5d 100644
--- a/crates/ra_assists/src/move_guard_to_arm_body.rs
+++ b/crates/ra_assists/src/move_guard_to_arm_body_and_back.rs