]> git.lizzy.rs Git - rust.git/commit
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)
commit217f57c0b58aeaf6a4a885ab49148095124d9f46
tree86b4ba4ed2120ec5a7b80e13902da9851375a533
parent29abe6f9e86829d55ba180a5957f203a64a96b65
parent74cde120e5edb8d62fb63e8ab738ba0c67ec4d5c
Auto merge of #37943 - bluss:exact-is-empty, r=alexcrichton

Implement better .is_empty() for slice and vec iterators

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