about summary refs log tree commit diff
path: root/src/libcore/send_map.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-18 17:34:08 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-18 19:36:25 -0700
commit2906f2de31d3a4709a2e028c5cefe3274df1edd2 (patch)
tree608d302d2da9538bc12cdf286437a6cd654c7535 /src/libcore/send_map.rs
parent77480e8e44d9c5a6858172faeb291496314cf739 (diff)
core: Rename 'unsafe' mod to 'cast'
Diffstat (limited to 'src/libcore/send_map.rs')
-rw-r--r--src/libcore/send_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/send_map.rs b/src/libcore/send_map.rs
index 4ddd16a52f5..28b36deb1d4 100644
--- a/src/libcore/send_map.rs
+++ b/src/libcore/send_map.rs
@@ -289,7 +289,7 @@ mod linear {
                                 // inference stupidly infers a
                                 // lifetime for `ref bkt` that is
                                 // shorter than it needs to be.
-                                unsafe::copy_lifetime(self, &bkt.value)
+                                cast::copy_lifetime(self, &bkt.value)
                             };
                             Some(ptr)
                         }