diff options
| author | Isaac van Bakel <ivb@vanbakel.io> | 2017-08-01 13:03:03 +0100 |
|---|---|---|
| committer | Isaac van Bakel <ivb@vanbakel.io> | 2017-08-01 23:01:24 +0100 |
| commit | 400075d9d9b6410c9f7952ca52c35806b46b3177 (patch) | |
| tree | c6e8344e69689f5c784e695b062953582ad5c21c /src/libstd/sync | |
| parent | 35b9bd0559746196fe0bc9f39b86c47d8c3afb8c (diff) | |
| download | rust-400075d9d9b6410c9f7952ca52c35806b46b3177.tar.gz rust-400075d9d9b6410c9f7952ca52c35806b46b3177.zip | |
Fixed all unnecessary muts in language core
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/once.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs index d9edf5d1254..bb18fe95a9d 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -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 { |
