Update how struct access is displayed
This commit is contained in:
parent
77439ee34a
commit
97fc468d78
@ -199,8 +199,8 @@ impl Display for ExprKind {
|
|||||||
}
|
}
|
||||||
ExprKind::StructIndex(expression, type_kind, name) => {
|
ExprKind::StructIndex(expression, type_kind, name) => {
|
||||||
Display::fmt(&expression, f)?;
|
Display::fmt(&expression, f)?;
|
||||||
write!(f, "<{}>", type_kind)?;
|
write_access(f, name)?;
|
||||||
write_access(f, name)
|
write!(f, "<{}>", type_kind)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user