core: Rename 'unsafe' mod to 'cast'

This commit is contained in:
Brian Anderson 2012-09-18 17:34:08 -07:00
parent 77480e8e44
commit 2906f2de31
51 changed files with 218 additions and 218 deletions

View file

@ -34,7 +34,7 @@ type spanned<T> = {node: T, span: span};
/* can't import macros yet, so this is copied from token.rs. See its comment
* there. */
macro_rules! interner_key (
() => (unsafe::transmute::<(uint, uint), &fn(+@@token::ident_interner)>(
() => (cast::transmute::<(uint, uint), &fn(+@@token::ident_interner)>(
(-3 as uint, 0u)))
)