Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_completion/src/render/pattern.rs')
| -rw-r--r-- | crates/ide_completion/src/render/pattern.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_completion/src/render/pattern.rs b/crates/ide_completion/src/render/pattern.rs index 888a5b4b0a..e486d9f2b9 100644 --- a/crates/ide_completion/src/render/pattern.rs +++ b/crates/ide_completion/src/render/pattern.rs @@ -87,7 +87,7 @@ fn render_pat( if matches!( ctx.completion.pattern_ctx, Some(PatternContext { - is_param: Some(ParamKind::Function), + param_ctx: Some((.., ParamKind::Function(_))), has_type_ascription: false, .. }) |