rust/src/liballoc
Tobias Bucher 22ec5f4af7 Replace many uses of mem::transmute with more specific functions
The replacements are functions that usually use a single `mem::transmute` in
their body and restrict input and output via more concrete types than `T` and
`U`. Worth noting are the `transmute` functions for slices and the `from_utf8*`
family for mutable slices. Additionally, `mem::transmute` was often used for
casting raw pointers, when you can already cast raw pointers just fine with
`as`.
2015-08-09 22:05:22 +02:00
..
arc.rs Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
boxed.rs syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
boxed_test.rs Use Box::into_raw rather than the deprecated boxed::into_raw in tests and documentation. 2015-06-26 22:29:40 +02:00
heap.rs alloc: Split apart the global alloc feature 2015-06-17 09:06:59 -07:00
lib.rs syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
raw_vec.rs Add RawVec to unify raw Vecish code 2015-07-17 08:29:15 -07:00
rc.rs syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00