diff options
| -rw-r--r-- | src/libstd/cast.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libstd/cast.rs b/src/libstd/cast.rs index 05a72dc4109..bc4579c00a0 100644 --- a/src/libstd/cast.rs +++ b/src/libstd/cast.rs @@ -26,14 +26,6 @@ pub unsafe fn transmute_copy<T, U>(src: &T) -> U { } /** - * Forces a copy of a value, even if that value is considered noncopyable. - */ -#[inline] -pub unsafe fn unsafe_copy<T>(thing: &T) -> T { - transmute_copy(thing) -} - -/** * Move a thing into the void * * The forget function will take ownership of the provided value but neglect |
