diff options
-rw-r--r-- | crates/ra_ide/src/completion/complete_keyword.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/completion/complete_keyword.rs b/crates/ra_ide/src/completion/complete_keyword.rs index 921d610e6..fe873527f 100644 --- a/crates/ra_ide/src/completion/complete_keyword.rs +++ b/crates/ra_ide/src/completion/complete_keyword.rs | |||
@@ -88,7 +88,7 @@ pub(super) fn complete_expr_keyword(acc: &mut Completions, ctx: &CompletionConte | |||
88 | 88 | ||
89 | if ctx.has_item_list_or_source_file_parent && !has_trait_or_impl_parent { | 89 | if ctx.has_item_list_or_source_file_parent && !has_trait_or_impl_parent { |
90 | add_keyword(ctx, acc, "enum", "enum $0 {}"); | 90 | add_keyword(ctx, acc, "enum", "enum $0 {}"); |
91 | add_keyword(ctx, acc, "struct", "struct $0 {}"); | 91 | add_keyword(ctx, acc, "struct", "struct $0"); |
92 | add_keyword(ctx, acc, "union", "union $0 {}"); | 92 | add_keyword(ctx, acc, "union", "union $0 {}"); |
93 | } | 93 | } |
94 | 94 | ||