Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-ssr/src/matching.rs')
-rw-r--r--crates/ide-ssr/src/matching.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide-ssr/src/matching.rs b/crates/ide-ssr/src/matching.rs
index 6569f0f555..4edc3633fb 100644
--- a/crates/ide-ssr/src/matching.rs
+++ b/crates/ide-ssr/src/matching.rs
@@ -359,8 +359,8 @@ impl<'db, 'sema> Matcher<'db, 'sema> {
)?;
self.attempt_match_opt(
phase,
- pattern_segment.param_list(),
- code_segment.param_list(),
+ pattern_segment.parenthesized_arg_list(),
+ code_segment.parenthesized_arg_list(),
)?;
}
if matches!(phase, Phase::Second(_)) {