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 30fd32e commit ef7b036Copy full SHA for ef7b036
library/std/src/sync/barrier.rs
@@ -1,6 +1,5 @@
1
-use core::panic::RefUnwindSafe;
2
-
3
use crate::fmt;
+use crate::panic::RefUnwindSafe;
4
use crate::sync::nonpoison::{Condvar, Mutex};
5
6
/// A barrier enables multiple threads to synchronize the beginning
@@ -33,7 +32,7 @@ pub struct Barrier {
33
32
num_threads: usize,
34
}
35
36
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "unwind_safe_lock_refs", since = "1.12.0")]
37
impl RefUnwindSafe for Barrier {}
38
39
// The inner state of a double barrier
0 commit comments