Skip to content

Commit a5540bd

Browse files
authored
Merge pull request #19604 from WtzLAS/fix-issue-19601
Add semicolon to use
2 parents 00887db + c0bc939 commit a5540bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide-completion/src/completions/item_list.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ fn add_keywords(acc: &mut Completions, ctx: &CompletionContext<'_>, kind: Option
142142
add_keyword("struct", "struct $0");
143143
add_keyword("trait", "trait $1 {\n $0\n}");
144144
add_keyword("union", "union $1 {\n $0\n}");
145-
add_keyword("use", "use $0");
145+
add_keyword("use", "use $0;");
146146
if no_vis_qualifiers {
147147
add_keyword("impl", "impl $1 {\n $0\n}");
148148
add_keyword("impl for", "impl $1 for $2 {\n $0\n}");

0 commit comments

Comments
 (0)