Merge pull request #19604 from WtzLAS/fix-issue-19601

Add semicolon to use
This commit is contained in:
Lukas Wirth 2025-04-21 12:34:07 +00:00 committed by GitHub
commit a5540bd98d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -142,7 +142,7 @@ fn add_keywords(acc: &mut Completions, ctx: &CompletionContext<'_>, kind: Option
add_keyword("struct", "struct $0");
add_keyword("trait", "trait $1 {\n $0\n}");
add_keyword("union", "union $1 {\n $0\n}");
add_keyword("use", "use $0");
add_keyword("use", "use $0;");
if no_vis_qualifiers {
add_keyword("impl", "impl $1 {\n $0\n}");
add_keyword("impl for", "impl $1 for $2 {\n $0\n}");