Refactored mutability

This commit is contained in:
2026-05-28 11:45:26 +02:00
parent 3444f93546
commit 7007aa32f1
9 changed files with 3 additions and 20 deletions
-1
View File
@@ -234,7 +234,6 @@ impl GetRust for TypeExprKind {
impl GenRust for Pattern {
fn gen_rust(&self, ctx: &mut Context, cg: &mut RustCodegen) {
match self {
Self::Id(id) => cg.add(&id.get_rust()),
Self::Path(mutable, path) => {
if *mutable {
cg.add("mut ");