mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Remove FunctionSignature
This commit is contained in:
parent
a5ae8b8b92
commit
3823c2dc19
4 changed files with 8 additions and 181 deletions
|
@ -1553,7 +1553,7 @@ impl Callable {
|
|||
param_list.self_param()
|
||||
}
|
||||
pub fn n_params(&self) -> usize {
|
||||
self.sig.params().len()
|
||||
self.sig.params().len() - if self.is_bound_method { 1 } else { 0 }
|
||||
}
|
||||
pub fn params(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue