]> git.lizzy.rs Git - rust.git/commit
Any: use plain transmute instead of transmute_copy for downcasting.
authorJonathan Reem <jonathan.reem@gmail.com>
Sun, 23 Nov 2014 00:06:21 +0000 (16:06 -0800)
committerJonathan Reem <jonathan.reem@gmail.com>
Sun, 23 Nov 2014 00:06:21 +0000 (16:06 -0800)
commit1b17eefa4aff87ae393c6d5aff7e90ff7c3c3185
treeb7a247b8ed039d5c83095b8b5f16106a7cb3e7a1
parent0d0a29061443852cae070b27d51de7cc69bbf293
Any: use plain transmute instead of transmute_copy for downcasting.

transmute_copy is no longer needed and is just slow.
src/liballoc/boxed.rs
src/libcore/any.rs