We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90a3dd5 commit a8f7b28Copy full SHA for a8f7b28
1 file changed
tests/mpsc.rs
@@ -339,7 +339,9 @@ mod channel_tests {
339
for _ in 0..AMT * NTHREADS {
340
assert_eq!(rx.recv().unwrap(), 1);
341
}
342
- if rx.try_recv().is_ok() { panic!() }
+ if rx.try_recv().is_ok() {
343
+ panic!()
344
+ }
345
});
346
347
let mut ts = Vec::with_capacity(NTHREADS as usize);
@@ -1174,7 +1176,9 @@ mod sync_channel_tests {
1174
1176
1175
1177
1178
1179
1180
1181
1182
dtx.send(()).unwrap();
1183
1184
0 commit comments