]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #37943 - bluss:exact-is-empty, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 24 Nov 2016 09:37:44 +0000 (03:37 -0600)
committerGitHub <noreply@github.com>
Thu, 24 Nov 2016 09:37:44 +0000 (03:37 -0600)
Implement better .is_empty() for slice and vec iterators

These iterators can use a pointer comparison instead of computing the length.


Trivial merge