diff --git a/src/libstd/cast.rs b/src/libstd/cast.rs index 05a72dc4109e7..bc4579c00a00c 100644 --- a/src/libstd/cast.rs +++ b/src/libstd/cast.rs @@ -25,14 +25,6 @@ pub unsafe fn transmute_copy(src: &T) -> U { dest } -/** - * Forces a copy of a value, even if that value is considered noncopyable. - */ -#[inline] -pub unsafe fn unsafe_copy(thing: &T) -> T { - transmute_copy(thing) -} - /** * Move a thing into the void *