rust/src/libstd
bors 3d69bec881 Auto merge of #27252 - tbu-:pr_less_transmutes, r=alexcrichton
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`.

This builds upon #27233.
2015-08-10 18:46:21 +00:00
..
collections Revert "Mark round_up_to_next as inline" 2015-08-10 13:51:55 +02:00
ffi Make slice::transmute* private 2015-08-09 22:05:22 +02:00
io syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
net syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
num syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
os Fixes #25155 and fixes #27359 by fixing the stat defines for both freebsd 10.1 x86_64 and i686 2015-07-28 11:10:23 -07:00
prelude doc: prelude nits 2015-07-30 10:45:00 +02:00
rand Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
rt Better FFI discipline 2015-08-05 18:05:19 -04:00
sync Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
sys Auto merge of #27252 - tbu-:pr_less_transmutes, r=alexcrichton 2015-08-10 18:46:21 +00:00
thread syntax: Don't assume std exists for tests 2015-08-04 14:02:36 -07:00
time syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
ascii.rs Make str::as_bytes_mut private 2015-08-09 22:05:22 +02:00
dynamic_lib.rs
env.rs std: Deprecate a number of unstable features 2015-07-27 16:38:25 -07:00
error.rs Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
fs.rs Rollup merge of #27550 - tshepang:missing-info, r=brson 2015-08-06 11:42:57 +05:30
lib.rs Make str::as_bytes_mut private 2015-08-09 22:05:22 +02:00
macros.rs Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
panicking.rs
path.rs Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
primitive_docs.rs Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
process.rs syntax: Don't assume std exists for tests 2015-08-04 14:02:36 -07:00
rtdeps.rs
thunk.rs