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 e408ccd commit 85ca6d3Copy full SHA for 85ca6d3
src/lib.rs
@@ -165,10 +165,8 @@ pub struct Event<T = ()> {
165
unsafe impl<T: Send> Send for Event<T> {}
166
unsafe impl<T: Send> Sync for Event<T> {}
167
168
-#[cfg(feature = "std")]
169
-impl<T> std::panic::UnwindSafe for Event<T> {}
170
171
-impl<T> std::panic::RefUnwindSafe for Event<T> {}
+impl<T> core::panic::UnwindSafe for Event<T> {}
+impl<T> core::panic::RefUnwindSafe for Event<T> {}
172
173
impl<T> fmt::Debug for Event<T> {
174
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
0 commit comments