Skip to content

Commit 21f40f2

Browse files
committed
Fix comment order
1 parent b33b843 commit 21f40f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ra_ide/src/completion/presentation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl Completions {
103103
}
104104
};
105105

106-
// If not an import, add parenthesis automatically.
106+
// Add `<>` for generic types
107107
if ctx.is_path_type
108108
&& !ctx.has_type_args
109109
&& ctx.db.feature_flags.get("completion.insertion.add-call-parenthesis")
@@ -211,7 +211,7 @@ impl Completions {
211211
.set_deprecated(is_deprecated(func, ctx.db))
212212
.detail(function_signature.to_string());
213213

214-
// Add `<>` for generic types
214+
// If not an import, add parenthesis automatically.
215215
if ctx.use_item_syntax.is_none()
216216
&& !ctx.is_call
217217
&& ctx.db.feature_flags.get("completion.insertion.add-call-parenthesis")

0 commit comments

Comments
 (0)