diff options
| author | Frank Steffahn <frank.steffahn@stu.uni-kiel.de> | 2021-08-12 17:09:17 +0200 |
|---|---|---|
| committer | Frank Steffahn <frank.steffahn@stu.uni-kiel.de> | 2021-08-12 17:26:03 +0200 |
| commit | 31e49f02723fe4631740fce4ef387aad31563bef (patch) | |
| tree | dbf63b80d0aa94941cfda24ace9ab1b036bf1ccb /compiler/rustc_mir/src/transform/coverage/mod.rs | |
| parent | 6bed1f0bc3cc50c10aab26d5f94b16a00776b8a5 (diff) | |
| download | rust-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_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
