forked from AbleOS/holey-bytes
typo
Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
This commit is contained in:
parent
d2fa41039b
commit
b9b8233a53
|
@ -105,7 +105,7 @@ impl Nodes {
|
|||
}
|
||||
|
||||
fn as_ty(&self, cint: Nid) -> ty::Id {
|
||||
if self[citn].ty == ty::Id::NEVER {
|
||||
if self[cint].ty == ty::Id::NEVER {
|
||||
return ty::Id::NEVER;
|
||||
}
|
||||
debug_assert_eq!(self[cint].ty, ty::Id::TYPE);
|
||||
|
|
Loading…
Reference in a new issue