diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-03 14:57:02 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-10-04 16:48:57 -0700 |
| commit | 202c8fd0eb20ebab07e4da81c96cb147020fb7c9 (patch) | |
| tree | f3ec9e4f186b41eed362d624896015d401b4fe2c /src/libcore/ptr.rs | |
| parent | 65c96f849ff1a76d4867c17703c0b384ccd1bb65 (diff) | |
| download | rust-202c8fd0eb20ebab07e4da81c96cb147020fb7c9.tar.gz rust-202c8fd0eb20ebab07e4da81c96cb147020fb7c9.zip | |
Kill bootstrapping code in ptr
Diffstat (limited to 'src/libcore/ptr.rs')
| -rw-r--r-- | src/libcore/ptr.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 608cbdf84a2..ffa11dcfc75 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -31,12 +31,6 @@ extern mod rusti { #[inline(always)] pub pure fn addr_of<T>(val: &T) -> *T { unsafe { rusti::addr_of(*val) } } -pub mod p2 { - /// Get an unsafe pointer to a value - #[inline(always)] - pub pure fn addr_of<T>(val: &T) -> *T { unsafe { rusti::addr_of(*val) } } -} - /// Get an unsafe mut pointer to a value #[inline(always)] pub pure fn mut_addr_of<T>(val: &T) -> *mut T { |
