Skip to content

Commit

Permalink
Update library/std/src/sync/mpsc/shared.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Sep 22, 2021
1 parent f63096e commit 598e5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sync/mpsc/shared.rs
Expand Up @@ -251,7 +251,7 @@ impl<T> Packet<T> {
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);
Expand Down

0 comments on commit 598e5b2

Please sign in to comment.