about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-03-08 21:44:11 +0300
committerSteve Klabnik <steve@steveklabnik.com>2016-03-08 21:44:11 +0300
commit13ba07b85499fcb6548969c60f887086867009ba (patch)
treeca090dbdeea49385700d3336f7da0071e1f520f8 /src/rustllvm/RustWrapper.cpp
parente35e5c434b0c3301aa62d2d8648fd5decfdddb7e (diff)
parent55671a0290b700d3f39cd79d102bbad2962d2a62 (diff)
downloadrust-13ba07b85499fcb6548969c60f887086867009ba.tar.gz
rust-13ba07b85499fcb6548969c60f887086867009ba.zip
Rollup merge of #32099 - bluss:doc-string-slicing, r=alexcrichton
Clarify documentation for string slicing (Index impls)

Clarify documentation for string slicing (Index impls)

- Mention the sugared syntax for the implementations, since it's not
  apparent from the docs that `Index<Range<usize>>` corresponds to
  `&self[a..b]`.
- Be specific in that start <= end and end <= len

This is just one fix in response to #32057
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions