Skip to content

Commit f63096e

Browse files
committed
rust fmt
1 parent aaa6de7 commit f63096e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

library/std/src/sync/mpsc/shared.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,11 @@ impl<T> Packet<T> {
248248
// Returns true if blocking should proceed.
249249
fn decrement(&self, token: SignalToken) -> StartResult {
250250
unsafe {
251-
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");
251+
assert_eq!(
252+
self.to_wake.load(Ordering::SeqCst),
253+
0,
254+
"This is a known bug in rust. See https://github.com/rust-lang/rust/issues/39364"
255+
);
252256
let ptr = token.cast_to_usize();
253257
self.to_wake.store(ptr, Ordering::SeqCst);
254258

0 commit comments

Comments
 (0)