Skip to content

Commit

Permalink
fixup! e70885c
Browse files Browse the repository at this point in the history
  • Loading branch information
neivv committed Mar 22, 2019
1 parent 65bc1c7 commit e744281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/globals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ pub struct UnitReplace {

impl UnitReplace {
pub fn replace_check(&self, unit_id: UnitId) -> UnitId {
for u in &mut self.unit_data {
for u in &self.unit_data {
if u.first == unit_id {
return u.second;
}
Expand Down

0 comments on commit e744281

Please sign in to comment.