about summary refs log tree commit diff
path: root/src/libstd/strbuf.rs
AgeCommit message (Collapse)AuthorLines
2014-05-07core: Inherit possible string functionalityAlex Crichton-1/+3
This moves as much allocation as possible from teh std::str module into core::str. This includes essentially all non-allocating functionality, mostly iterators and slicing and such. This primarily splits the Str trait into only having the as_slice() method, adding a new StrAllocating trait to std::str which contains the relevant new allocation methods. This is a breaking change if any of the methods of "trait Str" were overriden. The old functionality can be restored by implementing both the Str and StrAllocating traits. [breaking-change]
2014-04-21Fix misspellings in comments.Joseph Crail-1/+1
2014-04-12std: migrate path::windows to using StrBuf internally.Huon Wilson-0/+10
Same representation change performed with path::unix. This also implements BytesContainer for StrBuf & adds an (unsafe) method for viewing & mutating the raw byte vector of a StrBuf.
2014-04-11libtest: rename `BenchHarness` to `Bencher`Liigo Zhuang-5/+5
Closes #12640
2014-04-11Fix tests. Add Vec<u8> conversion to StrBuf.Huon Wilson-1/+20
2014-04-10libstd: Implement `StrBuf`, a new string buffer type like `Vec`, andPatrick Walton-0/+355
port all code over to use it.