Replace uses of 'unchecked' with 'unsafe'

This commit is contained in:
Brian Anderson 2012-09-18 11:17:40 -07:00
parent efa6675f1d
commit 2cdb23bbc0
21 changed files with 107 additions and 107 deletions

View file

@ -47,7 +47,7 @@ extern mod rusti {
/// Get an unsafe pointer to a value
#[inline(always)]
pure fn addr_of<T>(val: T) -> *T { unchecked { rusti::addr_of(val) } }
pure fn addr_of<T>(val: T) -> *T { unsafe { rusti::addr_of(val) } }
/// Get an unsafe mut pointer to a value
#[inline(always)]