about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2014-05-21 20:05:55 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2014-05-21 20:05:55 +0200
commitdcc2305664ab9101513f5d6b40941ed4ffea47f5 (patch)
tree123c7594f92e28d95a68925dd17f6e70f1665d77 /src/rustllvm/RustWrapper.cpp
parent803e92de89def55197244269a5d1feffa00c93d9 (diff)
downloadrust-dcc2305664ab9101513f5d6b40941ed4ffea47f5.tar.gz
rust-dcc2305664ab9101513f5d6b40941ed4ffea47f5.zip
Add examples for edge cases of str.split/str.splitn
In particular, show examples for splitting the empty string and using `splitn`
with a count of 0.

Fix #14222.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions