token: Make TKind::{Pub, Mod} match their keywords

This commit is contained in:
2025-10-21 08:35:33 -04:00
parent 3fd089ad11
commit 263d2290c0
3 changed files with 8 additions and 8 deletions

View File

@@ -305,9 +305,9 @@ impl<'t> Lexer<'t> {
"loop" => TKind::Loop,
"macro" => TKind::Macro,
"match" => TKind::Match,
"mod" => TKind::Module,
"mod" => TKind::Mod,
"mut" => TKind::Mut,
"pub" => TKind::Public,
"pub" => TKind::Pub,
"return" => TKind::Return,
"static" => TKind::Static,
"struct" => TKind::Struct,