diff options
Diffstat (limited to 'crates/ra_assists/src')
-rw-r--r-- | crates/ra_assists/src/lib.rs | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/crates/ra_assists/src/lib.rs b/crates/ra_assists/src/lib.rs index 62fadcddd..260ada716 100644 --- a/crates/ra_assists/src/lib.rs +++ b/crates/ra_assists/src/lib.rs | |||
@@ -93,66 +93,66 @@ pub fn resolved_assists(db: &RootDatabase, range: FileRange) -> Vec<ResolvedAssi | |||
93 | mod handlers { | 93 | mod handlers { |
94 | use crate::AssistHandler; | 94 | use crate::AssistHandler; |
95 | 95 | ||
96 | mod add_custom_impl; | ||
96 | mod add_derive; | 97 | mod add_derive; |
97 | mod add_explicit_type; | 98 | mod add_explicit_type; |
98 | mod add_impl; | 99 | mod add_impl; |
99 | mod add_custom_impl; | 100 | mod add_missing_impl_members; |
100 | mod add_new; | 101 | mod add_new; |
101 | mod apply_demorgan; | 102 | mod apply_demorgan; |
102 | mod auto_import; | 103 | mod auto_import; |
103 | mod invert_if; | ||
104 | mod flip_comma; | ||
105 | mod flip_binexpr; | ||
106 | mod flip_trait_bound; | ||
107 | mod change_visibility; | 104 | mod change_visibility; |
105 | mod early_return; | ||
108 | mod fill_match_arms; | 106 | mod fill_match_arms; |
109 | mod merge_match_arms; | 107 | mod flip_binexpr; |
110 | mod introduce_variable; | 108 | mod flip_comma; |
109 | mod flip_trait_bound; | ||
111 | mod inline_local_variable; | 110 | mod inline_local_variable; |
111 | mod introduce_variable; | ||
112 | mod invert_if; | ||
113 | mod merge_match_arms; | ||
114 | mod move_bounds; | ||
115 | mod move_guard; | ||
112 | mod raw_string; | 116 | mod raw_string; |
117 | mod remove_dbg; | ||
113 | mod remove_mut; | 118 | mod remove_mut; |
114 | mod replace_if_let_with_match; | 119 | mod replace_if_let_with_match; |
120 | mod replace_qualified_name_with_use; | ||
115 | mod split_import; | 121 | mod split_import; |
116 | mod remove_dbg; | ||
117 | pub(crate) mod replace_qualified_name_with_use; | ||
118 | mod add_missing_impl_members; | ||
119 | mod move_guard; | ||
120 | mod move_bounds; | ||
121 | mod early_return; | ||
122 | 122 | ||
123 | pub(crate) fn all() -> &'static [AssistHandler] { | 123 | pub(crate) fn all() -> &'static [AssistHandler] { |
124 | &[ | 124 | &[ |
125 | add_custom_impl::add_custom_impl, | ||
125 | add_derive::add_derive, | 126 | add_derive::add_derive, |
126 | add_explicit_type::add_explicit_type, | 127 | add_explicit_type::add_explicit_type, |
127 | add_impl::add_impl, | 128 | add_impl::add_impl, |
128 | add_custom_impl::add_custom_impl, | 129 | add_missing_impl_members::add_missing_default_members, |
130 | add_missing_impl_members::add_missing_impl_members, | ||
129 | add_new::add_new, | 131 | add_new::add_new, |
130 | apply_demorgan::apply_demorgan, | 132 | apply_demorgan::apply_demorgan, |
131 | invert_if::invert_if, | 133 | auto_import::auto_import, |
132 | change_visibility::change_visibility, | 134 | change_visibility::change_visibility, |
135 | early_return::convert_to_guarded_return, | ||
133 | fill_match_arms::fill_match_arms, | 136 | fill_match_arms::fill_match_arms, |
134 | merge_match_arms::merge_match_arms, | ||
135 | flip_comma::flip_comma, | ||
136 | flip_binexpr::flip_binexpr, | 137 | flip_binexpr::flip_binexpr, |
138 | flip_comma::flip_comma, | ||
137 | flip_trait_bound::flip_trait_bound, | 139 | flip_trait_bound::flip_trait_bound, |
138 | introduce_variable::introduce_variable, | ||
139 | replace_if_let_with_match::replace_if_let_with_match, | ||
140 | split_import::split_import, | ||
141 | remove_dbg::remove_dbg, | ||
142 | replace_qualified_name_with_use::replace_qualified_name_with_use, | ||
143 | add_missing_impl_members::add_missing_impl_members, | ||
144 | add_missing_impl_members::add_missing_default_members, | ||
145 | inline_local_variable::inline_local_variable, | 140 | inline_local_variable::inline_local_variable, |
146 | move_guard::move_guard_to_arm_body, | 141 | introduce_variable::introduce_variable, |
147 | move_guard::move_arm_cond_to_match_guard, | 142 | invert_if::invert_if, |
143 | merge_match_arms::merge_match_arms, | ||
148 | move_bounds::move_bounds_to_where_clause, | 144 | move_bounds::move_bounds_to_where_clause, |
145 | move_guard::move_arm_cond_to_match_guard, | ||
146 | move_guard::move_guard_to_arm_body, | ||
149 | raw_string::add_hash, | 147 | raw_string::add_hash, |
150 | raw_string::make_raw_string, | 148 | raw_string::make_raw_string, |
151 | raw_string::make_usual_string, | 149 | raw_string::make_usual_string, |
152 | raw_string::remove_hash, | 150 | raw_string::remove_hash, |
151 | remove_dbg::remove_dbg, | ||
153 | remove_mut::remove_mut, | 152 | remove_mut::remove_mut, |
154 | early_return::convert_to_guarded_return, | 153 | replace_if_let_with_match::replace_if_let_with_match, |
155 | auto_import::auto_import, | 154 | replace_qualified_name_with_use::replace_qualified_name_with_use, |
155 | split_import::split_import, | ||
156 | ] | 156 | ] |
157 | } | 157 | } |
158 | } | 158 | } |