mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
feature: Make replace_or_with_or_else assists more generally applicable
This commit is contained in:
parent
e6ba791dce
commit
199bc82ce8
8 changed files with 397 additions and 411 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue