feature: Make replace_or_with_or_else assists more generally applicable

This commit is contained in:
Lukas Wirth 2023-03-06 22:17:16 +01:00
parent e6ba791dce
commit 199bc82ce8
8 changed files with 397 additions and 411 deletions

View file

@ -172,7 +172,7 @@ fn signature_help_for_call(
res.signature.push('(');
{
if let Some(self_param) = callable.receiver_param(db) {
if let Some((self_param, _)) = callable.receiver_param(db) {
format_to!(res.signature, "{}", self_param)
}
let mut buf = String::new();