about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstd/cast.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstd/cast.rs b/src/libstd/cast.rs
index 8280553c1a3..de9e916c746 100644
--- a/src/libstd/cast.rs
+++ b/src/libstd/cast.rs
@@ -75,12 +75,6 @@ pub unsafe fn transmute_mut_unsafe<T>(ptr: *T) -> *mut T {
     transmute(ptr)
 }
 
-/// Coerce an immutable reference to be mutable.
-#[inline]
-pub unsafe fn transmute_immut_unsafe<T>(ptr: *mut T) -> *T {
-    transmute(ptr)
-}
-
 /// Coerce a mutable reference to have an arbitrary associated region.
 #[inline]
 pub unsafe fn transmute_mut_region<'a,'b,T>(ptr: &'a mut T) -> &'b mut T {