We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75fb3de commit 0360ed5Copy full SHA for 0360ed5
crates/ide-completion/src/completions/type.rs
@@ -181,12 +181,12 @@ pub(crate) fn complete_type_path(
181
acc.add_type_alias_with_eq(ctx, alias);
182
}
183
});
184
- }
185
186
- let n_params =
187
- trait_.type_or_const_param_count(ctx.sema.db, false);
188
- if arg_idx >= n_params {
189
- return; // only show assoc types
+ let n_params =
+ trait_.type_or_const_param_count(ctx.sema.db, false);
+ if arg_idx >= n_params {
+ return; // only show assoc types
+ }
190
191
192
0 commit comments