Skip to content

Commit f8f19c4

Browse files
committed
Change names to sth more presentable
1 parent 75f06ce commit f8f19c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/hir-ty/src/mir.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl<V, T> ProjectionElem<V, T> {
151151
TyKind::Adt(_, subst) => {
152152
db.field_types(f.parent)[f.local_id].clone().substitute(Interner, subst)
153153
}
154-
TyKind::Alias(al) => al.clone().intern(Interner),
154+
TyKind::Alias(inner) => inner.clone().intern(Interner),
155155
_ => {
156156
never!("Only adt has field");
157157
return TyKind::Error.intern(Interner);
@@ -168,7 +168,7 @@ impl<V, T> ProjectionElem<V, T> {
168168
TyKind::Error.intern(Interner)
169169
}),
170170
TyKind::Closure(id, subst) => closure_field(*id, subst, *f),
171-
TyKind::Alias(al) => al.clone().intern(Interner),
171+
TyKind::Alias(inner) => inner.clone().intern(Interner),
172172
_ => {
173173
never!("Only tuple or closure has tuple or closure field");
174174
return TyKind::Error.intern(Interner);

0 commit comments

Comments
 (0)