sim: Remove extraneous `mut`
This value does not need to be mutable as it is just given to another
function immediately.
@@ -186,7 +186,7 @@ impl Flash for SimFlash {
*x = false;
}
- let mut sub = &mut self.data[offset .. offset + payload.len()];
+ let sub = &mut self.data[offset .. offset + payload.len()];
sub.copy_from_slice(payload);
Ok(())
}
