Fixed all unnecessary muts in language core

This commit is contained in:
Isaac van Bakel
2017-08-01 13:03:03 +01:00
parent 35b9bd0559
commit 400075d9d9
32 changed files with 41 additions and 41 deletions

View File

@@ -267,7 +267,7 @@ impl Once {
#[cold]
fn call_inner(&'static self,
ignore_poisoning: bool,
mut init: &mut FnMut(bool)) {
init: &mut FnMut(bool)) {
let mut state = self.state.load(Ordering::SeqCst);
'outer: loop {