766a4e1acc
at least that's what the docs say: http://doc.rust-lang.org/std/slice/fn.from_raw_parts.html A few situations got prettier. In some situations the mutability of the resulting and source pointers differed (and was cast away by transmute), the mutability matches now. |
||
---|---|---|
.. | ||
fmt | ||
hash | ||
num | ||
str | ||
any.rs | ||
array.rs | ||
atomic.rs | ||
cell.rs | ||
char.rs | ||
clone.rs | ||
cmp_macros.rs | ||
cmp.rs | ||
default.rs | ||
error.rs | ||
finally.rs | ||
intrinsics.rs | ||
iter.rs | ||
lib.rs | ||
macros.rs | ||
marker.rs | ||
mem.rs | ||
nonzero.rs | ||
ops.rs | ||
option.rs | ||
panicking.rs | ||
prelude.rs | ||
ptr.rs | ||
raw.rs | ||
result.rs | ||
simd.rs | ||
slice.rs | ||
tuple.rs | ||
ty.rs |