about summary refs log tree commit diff
path: root/src/rustdoc
diff options
context:
space:
mode:
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)))
 )