From e60bc5ab9e3cb0de0b8a16a7137309ec761f94a2 Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Sat, 20 Jan 2024 13:16:35 -0800 Subject: [PATCH] This is very rarely hit, and there's bigger problems here --- full-moon/src/ast/parsers.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/full-moon/src/ast/parsers.rs b/full-moon/src/ast/parsers.rs index 8db5af00..0bf33389 100644 --- a/full-moon/src/ast/parsers.rs +++ b/full-moon/src/ast/parsers.rs @@ -1199,7 +1199,6 @@ fn force_table_constructor( }; } - // rewrite todo: range, or at least field.tokens().last().unwrap().clone() let right_brace = match state.require(Symbol::RightBrace, "expected `}` after last field") { Some(right_brace) => right_brace, None => TokenReference::basic_symbol("}"),