diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-29 23:48:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-29 23:48:04 +0100 |
commit | 9da454bcc2386e2782b71a9756b77a7763fd544b (patch) | |
tree | 72dc1cdc67d1cef8024b88cc05955ade68d917e2 /crates/ra_ide/src/completion | |
parent | 4567ae575e15cdb9af39b68b1490c062762ec39e (diff) | |
parent | ede5d17b0409f9d5a209aaf16508262dbd2a4489 (diff) |
Merge #5578
5578: Rename ModuleItem -> Item r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/completion')
-rw-r--r-- | crates/ra_ide/src/completion/complete_fn_param.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/completion/complete_fn_param.rs b/crates/ra_ide/src/completion/complete_fn_param.rs index db2abb4f1..7a53083f5 100644 --- a/crates/ra_ide/src/completion/complete_fn_param.rs +++ b/crates/ra_ide/src/completion/complete_fn_param.rs | |||
@@ -28,7 +28,7 @@ pub(super) fn complete_fn_param(acc: &mut Completions, ctx: &CompletionContext) | |||
28 | } | 28 | } |
29 | }; | 29 | }; |
30 | for item in items { | 30 | for item in items { |
31 | if let ast::ModuleItem::FnDef(func) = item { | 31 | if let ast::Item::FnDef(func) = item { |
32 | if Some(&func) == me.as_ref() { | 32 | if Some(&func) == me.as_ref() { |
33 | continue; | 33 | continue; |
34 | } | 34 | } |