]> git.lizzy.rs Git - rust.git/commitdiff
Update library/std/src/sync/mpsc/shared.rs
authorMara Bos <m-ou.se@m-ou.se>
Wed, 22 Sep 2021 18:20:33 +0000 (20:20 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 18:20:33 +0000 (20:20 +0200)
library/std/src/sync/mpsc/shared.rs

index 619a79f437b8a73805b8cccf45d19685903c91fa..8487a5f8b50d3215790285d4841ac2ec1021afc4 100644 (file)
@@ -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);