internal: fix naming polarity

Type Constructors have *parameters*, when they are substituted with type
*arguments*, we have a type.
This commit is contained in:
Aleksey Kladov 2021-04-30 11:55:59 +03:00
parent cb3ef552e8
commit 1a01a5ae19
4 changed files with 6 additions and 6 deletions

View file

@ -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()