about summary refs log tree commit diff
path: root/src/rustdoc
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/rustdoc
parent77480e8e44d9c5a6858172faeb291496314cf739 (diff)
downloadrust-2906f2de31d3a4709a2e028c5cefe3274df1edd2.tar.gz
rust-2906f2de31d3a4709a2e028c5cefe3274df1edd2.zip
core: Rename 'unsafe' mod to 'cast'
Diffstat (limited to 'src/rustdoc')
-rw-r--r--src/rustdoc/extract.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustdoc/extract.rs b/src/rustdoc/extract.rs
index 6f1cdb10b7c..74a89300eb3 100644
--- a/src/rustdoc/extract.rs
+++ b/src/rustdoc/extract.rs
@@ -9,7 +9,7 @@ export from_srv, extract, to_str, interner;
 /* can't import macros yet, so this is copied from token.rs. See its comment
  * there. */
 macro_rules! interner_key (
-    () => (unsafe::transmute::<(uint, uint),
+    () => (cast::transmute::<(uint, uint),
            &fn(+@@syntax::parse::token::ident_interner)>((-3 as uint, 0u)))
 )