about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-12 17:09:17 +0200
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-12 17:26:03 +0200
commit31e49f02723fe4631740fce4ef387aad31563bef (patch)
treedbf63b80d0aa94941cfda24ace9ab1b036bf1ccb /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent6bed1f0bc3cc50c10aab26d5f94b16a00776b8a5 (diff)
downloadrust-31e49f02723fe4631740fce4ef387aad31563bef.tar.gz
rust-31e49f02723fe4631740fce4ef387aad31563bef.zip
Test and fix size_hint for slice's [r]split* iterators
Adds extensive test for all the [r]split* iterators.
Fixes size_hint upper bound for split_inclusive* iterators which was one higher than necessary for non-empty slices.
Fixes size_hint lower bound for [r]splitn* iterators when n==0, which was one too high.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions