diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-09-12 19:08:01 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-09-12 19:08:01 -0700 |
| commit | 59c3c6c147be95cec1390f8eb75b98c5effa1699 (patch) | |
| tree | d9bf6536e64e9a7aa7ebdaeafa85a4eefb1849b9 /src | |
| parent | df712ab3d540affe0442763dc1841030bcab7698 (diff) | |
libcore: Remove debugging code from transmute.
Was causing huge code bloat.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/unsafe.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/unsafe.rs b/src/libcore/unsafe.rs index 3de631138a3..0bcbd5143af 100644 --- a/src/libcore/unsafe.rs +++ b/src/libcore/unsafe.rs @@ -53,11 +53,8 @@ unsafe fn bump_box_refcount<T>(+t: @T) { forget(move t); } */ #[inline(always)] unsafe fn transmute<L, G>(-thing: L) -> G { - debug!(">>> in transmute! <<<"); - debug!("transmute 1: %?", &thing); let newthing: G = reinterpret_cast(&thing); forget(move thing); - debug!("transmute 2: %?", &newthing); move newthing } |
