Skip to content

Commit 401f75a

Browse files
Revert impl<T> From<T> for ManuallyDrop<T>
1 parent b38c598 commit 401f75a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library/core/src/mem/manually_drop.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,3 @@ impl<T: ?Sized> DerefMut for ManuallyDrop<T> {
276276

277277
#[unstable(feature = "deref_pure_trait", issue = "87121")]
278278
unsafe impl<T: ?Sized> DerefPure for ManuallyDrop<T> {}
279-
280-
#[stable(feature = "from_wrapper_impls", since = "CURRENT_RUSTC_VERSION")]
281-
impl<T> From<T> for ManuallyDrop<T> {
282-
#[inline(always)]
283-
fn from(value: T) -> Self {
284-
Self::new(value)
285-
}
286-
}

0 commit comments

Comments
 (0)