From b9b8233a5336973630a2b6a2849a179039f4256c Mon Sep 17 00:00:00 2001 From: Jakub Doka Date: Mon, 16 Dec 2024 15:03:07 +0100 Subject: [PATCH] typo Signed-off-by: Jakub Doka --- lang/src/son.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/src/son.rs b/lang/src/son.rs index 3ad3322..84d690c 100644 --- a/lang/src/son.rs +++ b/lang/src/son.rs @@ -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);