Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
prozacchiwawa committed Nov 2, 2023
1 parent 9b36b74 commit 7b15fcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/compiler/rename.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fn make_binding_unique(b: &Binding) -> InnerRenameList {
bindings: single_name_map,
from_wing: Binding {
pattern: BindingPattern::Name(new_name),
.. b.clone()
..b.clone()
},
}
}
Expand All @@ -146,7 +146,7 @@ fn make_binding_unique(b: &Binding) -> InnerRenameList {
bindings: new_names,
from_wing: Binding {
pattern: BindingPattern::Complex(renamed_pattern),
.. b.clone()
..b.clone()
},
}
}
Expand Down Expand Up @@ -199,7 +199,7 @@ fn rename_in_bodyform(
let b_borrowed: &Binding = b.borrow();
Ok(Rc::new(Binding {
body: Rc::new(rename_in_bodyform(namemap, b.body.clone())?),
.. b_borrowed.clone()
..b_borrowed.clone()
}))
},
&letdata.bindings,
Expand Down Expand Up @@ -480,7 +480,7 @@ fn rename_in_compileform(
Ok(CompileForm {
helpers: map_m(|x| rename_in_helperform(namemap, x), &c.helpers)?,
exp: Rc::new(rename_in_bodyform(namemap, c.exp.clone())?),
.. c_ref.clone()
..c_ref.clone()
})
}

Expand Down

0 comments on commit 7b15fcf

Please sign in to comment.