about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-09-24 02:39:02 +0000
committerbors <bors@rust-lang.org>2015-09-24 02:39:02 +0000
commit8fe79bdfdacb2f5914971bd1a0b63b9577afbf6a (patch)
treec88db9257618e778ac4a7d19366b7a6e9a0b4130 /src/rustllvm/RustWrapper.cpp
parentf0666b45dd9adef751340e86badbef4daedb2dc2 (diff)
parent30fbf44fbc3d844c3e609bffa239151d5efcbccd (diff)
downloadrust-8fe79bdfdacb2f5914971bd1a0b63b9577afbf6a.tar.gz
rust-8fe79bdfdacb2f5914971bd1a0b63b9577afbf6a.zip
Auto merge of #28607 - remram44:doc-fix-str-pattern, r=alexcrichton
Reported by Moonlightning on #rust
> 17:13 EDT < Moonlightning> I think I found a bug in the str::matches() documentation. Was it copied from str::split()? :p
> 17:13 EDT < Moonlightning> Because it says “The pattern can be a simple `&str`, `char`, or a closure that determines the split.”

I changed "determines the split" to "determines if a character matches".

It's not super clear, "determines the split" is not super clear to begin with, maybe this can be made better? On the other hand following the link to Pattern provides enough details.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions