internal: fix naming polarity
Type Constructors have *parameters*, when they are substituted with type *arguments*, we have a type.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user