Skip to content

Commit 59c3c6c

Browse files
committed
libcore: Remove debugging code from transmute.
Was causing huge code bloat.
1 parent df712ab commit 59c3c6c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libcore/unsafe.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,8 @@ unsafe fn bump_box_refcount<T>(+t: @T) { forget(move t); }
5353
*/
5454
#[inline(always)]
5555
unsafe fn transmute<L, G>(-thing: L) -> G {
56-
debug!(">>> in transmute! <<<");
57-
debug!("transmute 1: %?", &thing);
5856
let newthing: G = reinterpret_cast(&thing);
5957
forget(move thing);
60-
debug!("transmute 2: %?", &newthing);
6158
move newthing
6259
}
6360

0 commit comments

Comments
 (0)