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
@@ -37,7 +37,6 @@ pub enum Pattern {
Tuple(Vec<Identifier>),
Literal(Literal),
Path(bool, Path),
Id(Identifier),
}
#[derive(Debug, Clone, Serialize)]
-2
View File
@@ -31,7 +31,6 @@ pub enum Statement {
body: StatementBody,
},
For {
mutable: bool,
pattern: Pattern,
iterator: Expression,
body: StatementBody,
@@ -46,7 +45,6 @@ pub enum Statement {
#[derive(Debug, Clone, Serialize)]
pub struct VarDecl {
pub mutable: bool,
pub name: Pattern,
pub type_: Option<TypeExpr>,
}