]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #56538 - xfix:patch-13, r=bluss
authorPietro Albini <pietro@pietroalbini.org>
Wed, 5 Dec 2018 22:54:39 +0000 (23:54 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Dec 2018 22:54:39 +0000 (23:54 +0100)
Use inner iterator may_have_side_effect for Cloned

Previous implementation wasn't correct, as an inner iterator could have had side effects. Noticed by @bluss in #56534.


Trivial merge