Skip to content

Commit 75f0ac0

Browse files
Revert impl<T> From<T> for AssertUnwindSafe<T>
1 parent 401f75a commit 75f0ac0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library/core/src/panic/unwind_safe.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,3 @@ impl<S: AsyncIterator> AsyncIterator for AssertUnwindSafe<S> {
311311
self.0.size_hint()
312312
}
313313
}
314-
315-
#[stable(feature = "from_wrapper_impls", since = "CURRENT_RUSTC_VERSION")]
316-
impl<T> From<T> for AssertUnwindSafe<T> {
317-
#[inline(always)]
318-
fn from(value: T) -> Self {
319-
Self(value)
320-
}
321-
}

0 commit comments

Comments
 (0)