about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-22 08:24:14 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-22 08:24:14 -0700
commit31be3319bf5ef1a74ef1044f5bd52dd95947c959 (patch)
tree48b8f9f68a9db9d61cdb7ed71d916e07c0e13fc3 /src/rustllvm/PassWrapper.cpp
parent79b4ce06ae8be58fcf09aa96afea4bed6d487db5 (diff)
downloadrust-31be3319bf5ef1a74ef1044f5bd52dd95947c959.tar.gz
rust-31be3319bf5ef1a74ef1044f5bd52dd95947c959.zip
collections: Deprecate shift_char for insert/remove
This commit deprecates the String::shift_char() function in favor of the
addition of an insert()/remove() pair of functions. This aligns the API with Vec
in that characters can be inserted at arbitrary positions.  Additionaly, there
is no `_char` suffix due to the rationaled laid out in the previous commit.

These functions are both introduced as unstable as their failure semantics,
while in line with slices/vectors, are uncertain about whether they should
remain the same.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions