diff options
| author | Dylan Braithwaite <mail@dylanb.me> | 2014-05-08 21:42:40 +0100 |
|---|---|---|
| committer | Dylan Braithwaite <mail@dylanb.me> | 2014-05-13 11:01:12 +0100 |
| commit | 1ca6b2cc664610dbbe9de07864d2016ead422460 (patch) | |
| tree | ff41aee522adb6f9a0df82ef8486c5186af9fc11 /src/rustllvm/RustWrapper.cpp | |
| parent | e16243816251d66eb823ba7199259fcaac7d0deb (diff) | |
| download | rust-1ca6b2cc664610dbbe9de07864d2016ead422460.tar.gz rust-1ca6b2cc664610dbbe9de07864d2016ead422460.zip | |
Added functions pop_char and shift_char to StrBuf struct along with appropriate unit tests, using the same test case as push_char.
Changed StrBuf.shift_byte() that it no longer reallocates the buffer by just calling Vec.shift(); Added warning to shift_char()'s docs about it having to copy the whole buffer, as per the docs for Vec.shift().
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
