]> git.lizzy.rs Git - rust.git/commit
std: Require `&mut self` for Iterator::all
authorAlex Crichton <alex@alexcrichton.com>
Wed, 25 Feb 2015 05:52:27 +0000 (21:52 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 25 Feb 2015 06:04:21 +0000 (22:04 -0800)
commit18878b155ebf3c70445f2a461582475f5ef72c92
tree1c969e6b0675b48b99ef79d5b70e7ff269f817a8
parentad04cce61c366968098e2adc8594e21e91c578e0
std: Require `&mut self` for Iterator::all

Keeps the method consistent with `Iterator::any`.

Closes #22617
[breaking-change]
src/libcore/iter.rs
src/librustc/middle/ty.rs