about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorVincent Bernat <vincent@bernat.im>2015-08-09 01:04:59 +0200
committerVincent Bernat <vincent@bernat.im>2015-08-09 01:04:59 +0200
commit721dc47a6996f0c418ed515701142d79846c8e10 (patch)
tree5b221e15caf7d8b3244eb1aaaf1db3551d3d7fdb /src/rustllvm/RustWrapper.cpp
parentcbf4c342cf9facb660df181c9c1d7d9a8934d5a1 (diff)
downloadrust-721dc47a6996f0c418ed515701142d79846c8e10.tar.gz
rust-721dc47a6996f0c418ed515701142d79846c8e10.zip
doc/core: fix description of `nth` function
The "nth" element can be confusing. In an array context, we know indexes
start from 0 but one may believe this is not the case with "nth". For
example, would `.nth(1)` return the first (1th/1st) or the second
element?  Rephrase a bit to be less confusing.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions