rust/src/libcoretest
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
..
fmt Fix negate_unsigned feature gate check 2015-07-14 21:48:43 +03:00
hash Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
num optimize from_str_radix 2015-07-19 09:54:44 -03:00
any.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
atomic.rs Use const fn to abstract away the contents of UnsafeCell & friends. 2015-05-27 11:19:03 +03:00
cell.rs Add map and filter_map associated functions to std::cell::Ref and RefMut 2015-05-29 08:39:07 +02:00
char.rs Remove char::to_titlecase. Fix #26555 2015-06-24 22:16:25 -07:00
clone.rs Remove all i suffixes 2015-01-30 04:38:54 +01:00
cmp.rs std: Bring back f32::from_str_radix as an unstable API 2015-04-21 15:23:54 -07:00
intrinsics.rs Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
iter.rs Removed many pointless calls to *iter() and iter_mut() 2015-06-10 21:14:03 +01:00
lib.rs Fallout in tests and docs from feature renamings 2015-06-17 09:07:16 -07:00
mem.rs std: Remove #[old_orphan_check] from PartialEq 2015-03-31 13:39:14 -07:00
nonzero.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
ops.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
option.rs Fallout in tests and docs from feature renamings 2015-06-17 09:07:16 -07:00
ptr.rs Replace many uses of mem::transmute with more specific functions 2015-08-09 22:05:22 +02:00
result.rs libcore/Result - RFC#1119 Add an 'expect' method to Result 2015-06-15 12:00:16 +08:00
slice.rs std: Remove index notation on slice iterators 2015-05-01 10:40:46 -07:00
str.rs Moved coretest::str tests into collectiontest::str 2015-04-05 18:52:58 +02:00
tuple.rs Deprecating i/u suffixes in libcoretest 2015-02-10 22:56:31 +00:00