mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
internal: fix naming polarity
Type Constructors have *parameters*, when they are substituted with type *arguments*, we have a type.
This commit is contained in:
parent
cb3ef552e8
commit
1a01a5ae19
4 changed files with 6 additions and 6 deletions
|
@ -1984,7 +1984,7 @@ impl Type {
|
|||
None
|
||||
}
|
||||
|
||||
pub fn type_parameters(&self) -> impl Iterator<Item = Type> + '_ {
|
||||
pub fn type_arguments(&self) -> impl Iterator<Item = Type> + '_ {
|
||||
self.ty
|
||||
.strip_references()
|
||||
.as_adt()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue