about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2016-03-07 15:38:02 +0100
committerUlrik Sverdrup <bluss@users.noreply.github.com>2016-03-07 21:05:06 +0100
commit55671a0290b700d3f39cd79d102bbad2962d2a62 (patch)
tree7beea415a94c088da727fcb36735ea30a610d756 /src/rustllvm/RustWrapper.cpp
parentc97524bef9e59a80875110b402b3fc8c139d4d64 (diff)
downloadrust-55671a0290b700d3f39cd79d102bbad2962d2a62.tar.gz
rust-55671a0290b700d3f39cd79d102bbad2962d2a62.zip
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions