diff options
| author | Sebastian Dröge <sebastian@centricular.com> | 2018-01-02 23:54:42 +0200 |
|---|---|---|
| committer | Sebastian Dröge <sebastian@centricular.com> | 2018-01-13 12:18:55 +0200 |
| commit | aa0c08a22c32da5cc1db16fba2e5e6b762a47de5 (patch) | |
| tree | 8796a580cd2a0dc79a27df5974b23343b9e34bb4 /src/liballoc | |
| parent | e51a89a0ad35f42af9c39d4ada25a5ad9746cd62 (diff) | |
| download | rust-aa0c08a22c32da5cc1db16fba2e5e6b762a47de5.tar.gz rust-aa0c08a22c32da5cc1db16fba2e5e6b762a47de5.zip | |
Apply review comments from @bluss
- Simplify nth() by making use of the fact that the slice is evenly divisible by the chunk size, and calling next() instead of duplicating it - Call next_back() in last(), they are equivalent - Implement ExactSizeIterator::is_empty()
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions
