From 2906f2de31d3a4709a2e028c5cefe3274df1edd2 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 18 Sep 2012 17:34:08 -0700 Subject: core: Rename 'unsafe' mod to 'cast' --- src/rustdoc/extract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rustdoc') 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))) ) -- cgit 1.4.1-3-g733a5