about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2016-03-01 20:21:55 +0100
committerUlrik Sverdrup <bluss@users.noreply.github.com>2016-03-01 22:30:18 +0100
commit63c4065af00a61aef24153a1d3dde76013f433bb (patch)
tree705c7f7c748b7dbe274c3906cc5c068520bf3b8d /src/libstd/sys/unix/stack_overflow.rs
parent09130044ce7429beb95742afa7fd371960dbe607 (diff)
downloadrust-63c4065af00a61aef24153a1d3dde76013f433bb.tar.gz
rust-63c4065af00a61aef24153a1d3dde76013f433bb.zip
Use raw pointer casts for slice, str's .as_ptr()
We can now use raw pointer casts `*const [T] as *const T` and
`*const str as *const u8` instead of .repr() for getting the
pointer out of a slice.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions