mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-30 11:37:31 +00:00
Merge pull request #19604 from WtzLAS/fix-issue-19601
Add semicolon to use
This commit is contained in:
commit
a5540bd98d
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ fn add_keywords(acc: &mut Completions, ctx: &CompletionContext<'_>, kind: Option
|
||||||
add_keyword("struct", "struct $0");
|
add_keyword("struct", "struct $0");
|
||||||
add_keyword("trait", "trait $1 {\n $0\n}");
|
add_keyword("trait", "trait $1 {\n $0\n}");
|
||||||
add_keyword("union", "union $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 {
|
if no_vis_qualifiers {
|
||||||
add_keyword("impl", "impl $1 {\n $0\n}");
|
add_keyword("impl", "impl $1 {\n $0\n}");
|
||||||
add_keyword("impl for", "impl $1 for $2 {\n $0\n}");
|
add_keyword("impl for", "impl $1 for $2 {\n $0\n}");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue