☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
rayon-core
/
tests
/
simple_panic.rs
☽
☼
debian/rust-vendor/rayon-core/tests/simple_panic.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
use rayon_core::join;
2
3
#[test]
4
#[should_panic(expected = "should panic")]
5
fn simple_panic() {
6
join(|| {}, || panic!("should panic"));
7
}