From: Mara Bos Date: Wed, 22 Sep 2021 18:20:33 +0000 (+0200) Subject: Update library/std/src/sync/mpsc/shared.rs X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=598e5b27beef291c016c13f4dfaf724350f37fce;p=rust.git Update library/std/src/sync/mpsc/shared.rs --- diff --git a/library/std/src/sync/mpsc/shared.rs b/library/std/src/sync/mpsc/shared.rs index 619a79f437b..8487a5f8b50 100644 --- a/library/std/src/sync/mpsc/shared.rs +++ b/library/std/src/sync/mpsc/shared.rs @@ -251,7 +251,7 @@ fn decrement(&self, token: SignalToken) -> StartResult { assert_eq!( self.to_wake.load(Ordering::SeqCst), 0, - "This is a known bug in rust. See https://github.com/rust-lang/rust/issues/39364" + "This is a known bug in the Rust standard library. See https://github.com/rust-lang/rust/issues/39364" ); let ptr = token.cast_to_usize(); self.to_wake.store(ptr, Ordering::SeqCst);