Removed comment mapping completely

This commit is contained in:
2026-06-20 19:21:10 +02:00
parent 0dd1016980
commit 8f115353bb
4 changed files with 22 additions and 23 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
use mist_parser::ast::*;
use crate::Context;
use crate::{Context, GenSpanTranslation};
use crate::{GenRust, GetRust, RustCodegen};
@@ -55,7 +55,7 @@ impl GenRust for Statement {
cg.indent += 1;
for match_item in match_items {
cg.add_indentedln(&match_item.get_comment());
match_item.gen_span(cg);
let MatchItem(pat, body) = &match_item.item;