From 8ba058552b61484248fc295dfbbe2e18a9d49e48 Mon Sep 17 00:00:00 2001 From: Fenrir Date: Fri, 1 Dec 2017 21:57:34 -0700 Subject: Patch `std` to be compatible with Rust nightly-2017-12-01 This only fixes things enough so that the project compiles again. More standard library changes from upstream Rust will be pulled in later. --- ctr-std/src/sync/once.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctr-std/src/sync') diff --git a/ctr-std/src/sync/once.rs b/ctr-std/src/sync/once.rs index 1e7394c..c449315 100644 --- a/ctr-std/src/sync/once.rs +++ b/ctr-std/src/sync/once.rs @@ -248,7 +248,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 { -- cgit v1.2.3