diff options
author | Lukas Wirth <[email protected]> | 2021-05-28 21:18:52 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-05-28 21:19:52 +0100 |
commit | e42c448077ca2b7675320da3c5294bf4bebaedeb (patch) | |
tree | e6d76df5212db7589ef8dc6583b32d6c64871a33 /crates/ide_completion/src/completions | |
parent | 47ad752e6cca5eb5499168ec7f859879e384a5ab (diff) |
More completion pattern tests
Diffstat (limited to 'crates/ide_completion/src/completions')
-rw-r--r-- | crates/ide_completion/src/completions/keyword.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ide_completion/src/completions/keyword.rs b/crates/ide_completion/src/completions/keyword.rs index 06789b704..e71a04b6e 100644 --- a/crates/ide_completion/src/completions/keyword.rs +++ b/crates/ide_completion/src/completions/keyword.rs | |||
@@ -39,8 +39,6 @@ pub(crate) fn complete_use_tree_keyword(acc: &mut Completions, ctx: &CompletionC | |||
39 | } | 39 | } |
40 | } | 40 | } |
41 | 41 | ||
42 | trait Foo {} | ||
43 | |||
44 | pub(crate) fn complete_expr_keyword(acc: &mut Completions, ctx: &CompletionContext) { | 42 | pub(crate) fn complete_expr_keyword(acc: &mut Completions, ctx: &CompletionContext) { |
45 | if ctx.token.kind() == SyntaxKind::COMMENT { | 43 | if ctx.token.kind() == SyntaxKind::COMMENT { |
46 | cov_mark::hit!(no_keyword_completion_in_comments); | 44 | cov_mark::hit!(no_keyword_completion_in_comments); |