about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2020-08-03 01:06:11 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2020-10-12 14:48:07 +0100
commitb7974bd3cd2df94d19dad467fa09a79f78067559 (patch)
tree8f1ae89663dd761ea5efb884ca4f657d52cb1b32 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentdbb058302388824b717816b42bbfbc00330fa36d (diff)
downloadrust-b7974bd3cd2df94d19dad467fa09a79f78067559.tar.gz
rust-b7974bd3cd2df94d19dad467fa09a79f78067559.zip
docs: Reword `slice::strip_prefix` and `strip_suffix` a bit
The stabilisation issue, #73413, has an open item for documentation.
I looked at the docs and it is all there, but I felt it could do with
some minor wording improvement.

I looked at the `str::strip_prefix` docs for a template.  (That
resulted in me slightly changing that doc too.)

I de-linkified `None` and `Some`, as I felt that rather noisy..  I
searched stdlib, and these don't seem to be usually linkified.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions