about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan Braithwaite <mail@dylanb.me>2014-05-08 21:42:40 +0100
committerDylan Braithwaite <mail@dylanb.me>2014-05-13 11:01:12 +0100
commit1ca6b2cc664610dbbe9de07864d2016ead422460 (patch)
treeff41aee522adb6f9a0df82ef8486c5186af9fc11 /src/rustllvm/RustWrapper.cpp
parente16243816251d66eb823ba7199259fcaac7d0deb (diff)
downloadrust-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