Skip to content

Commit 1985107

Browse files
bors[bot]matklad
andauthored
Merge #3636
3636: Reduce visibility r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents f0a1b64 + 3c88ef7 commit 1985107

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

crates/ra_assists/src/lib.rs

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -93,66 +93,66 @@ pub fn resolved_assists(db: &RootDatabase, range: FileRange) -> Vec<ResolvedAssi
9393
mod handlers {
9494
use crate::AssistHandler;
9595

96+
mod add_custom_impl;
9697
mod add_derive;
9798
mod add_explicit_type;
9899
mod add_impl;
99-
mod add_custom_impl;
100+
mod add_missing_impl_members;
100101
mod add_new;
101102
mod apply_demorgan;
102103
mod auto_import;
103-
mod invert_if;
104-
mod flip_comma;
105-
mod flip_binexpr;
106-
mod flip_trait_bound;
107104
mod change_visibility;
105+
mod early_return;
108106
mod fill_match_arms;
109-
mod merge_match_arms;
110-
mod introduce_variable;
107+
mod flip_binexpr;
108+
mod flip_comma;
109+
mod flip_trait_bound;
111110
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;
112116
mod raw_string;
117+
mod remove_dbg;
113118
mod remove_mut;
114119
mod replace_if_let_with_match;
120+
mod replace_qualified_name_with_use;
115121
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;
122122

123123
pub(crate) fn all() -> &'static [AssistHandler] {
124124
&[
125+
add_custom_impl::add_custom_impl,
125126
add_derive::add_derive,
126127
add_explicit_type::add_explicit_type,
127128
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,
129131
add_new::add_new,
130132
apply_demorgan::apply_demorgan,
131-
invert_if::invert_if,
133+
auto_import::auto_import,
132134
change_visibility::change_visibility,
135+
early_return::convert_to_guarded_return,
133136
fill_match_arms::fill_match_arms,
134-
merge_match_arms::merge_match_arms,
135-
flip_comma::flip_comma,
136137
flip_binexpr::flip_binexpr,
138+
flip_comma::flip_comma,
137139
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,
145140
inline_local_variable::inline_local_variable,
146-
move_guard::move_guard_to_arm_body,
147-
move_guard::move_arm_cond_to_match_guard,
141+
introduce_variable::introduce_variable,
142+
invert_if::invert_if,
143+
merge_match_arms::merge_match_arms,
148144
move_bounds::move_bounds_to_where_clause,
145+
move_guard::move_arm_cond_to_match_guard,
146+
move_guard::move_guard_to_arm_body,
149147
raw_string::add_hash,
150148
raw_string::make_raw_string,
151149
raw_string::make_usual_string,
152150
raw_string::remove_hash,
151+
remove_dbg::remove_dbg,
153152
remove_mut::remove_mut,
154-
early_return::convert_to_guarded_return,
155-
auto_import::auto_import,
153+
replace_if_let_with_match::replace_if_let_with_match,
154+
replace_qualified_name_with_use::replace_qualified_name_with_use,
155+
split_import::split_import,
156156
]
157157
}
158158
}

0 commit comments

Comments
 (0)