Brian Anderson
d21336ee0a
rustc: Remove &str
indexing from the language.
...
Being able to index into the bytes of a string encourages
poor UTF-8 hygiene. To get a view of `&[u8]` from either
a `String` or `&str` slice, use the `as_bytes()` method.
Closes #12710 .
[breaking-change]
2014-07-01 19:12:29 -07:00
Richo Healey
1f1b2e42d7
std: Rename strbuf operations to string
...
[breaking-change]
2014-05-27 12:59:31 -07:00
Richo Healey
553074506e
core: rename strbuf::StrBuf to string::String
...
[breaking-change]
2014-05-24 21:48:10 -07:00
Patrick Walton
95e310abdc
test: Remove all uses of ~str
from the test suite.
2014-05-14 14:58:00 -07:00
Richo Healey
919889a1d6
Replace all ~"" with "".to_owned()
2014-04-18 17:25:34 -07:00
Alex Crichton
9a259f4303
Fix fallout of requiring uint indices
2014-04-02 15:56:31 -07:00