about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Ozdemir <aozdemir@hmc.edu>2015-08-07 00:10:31 -0700
committerAlex Ozdemir <aozdemir@fb.com>2015-08-12 08:34:51 -0700
commite09f83ea4491ae7c1e48d667b9c552641de0ce5b (patch)
tree9283a6ccfae1921b70e1219e3f038ff25cfe40cc /src/rustllvm/RustWrapper.cpp
parent6a3545ef055a6c3b46593c2b17512486dc3fa0ee (diff)
downloadrust-e09f83ea4491ae7c1e48d667b9c552641de0ce5b.tar.gz
rust-e09f83ea4491ae7c1e48d667b9c552641de0ce5b.zip
O(1) count,nth,last for slice::Windows,Chunks(Mut)
Implemented count, nth, and last in constant time for Windows, Chunks,
and ChunksMut created from a slice.

Included checks for overflow in the implementation of nth().

Also added a test for each implemented method to libcoretest.

Addresses #24214
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions