about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2015-06-15 18:33:21 +0200
committerSimon Sapin <simon.sapin@exyr.org>2015-07-13 16:21:43 +0200
commitf9005512a9d84f469b30f0d469ccc401607ce64c (patch)
treee1585201e80a2ae90b2ac586f162263a100fbcdc /src/libstd/sys/unix/stack_overflow.rs
parent90d61d828f82a830b9edc202dd28bb5b4defc7e9 (diff)
downloadrust-f9005512a9d84f469b30f0d469ccc401607ce64c.tar.gz
rust-f9005512a9d84f469b30f0d469ccc401607ce64c.zip
Implement IndexMut for String and str.
... matching the existing Index impls.
There is no reason not to if String implement DerefMut.

The code removed in `src/librustc/middle/effect.rs` was added in #9750
to prevent things like `s[0] = 0x80` where `s: String`,
but I belive became unnecessary when the Index(Mut) traits were introduced.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions