]> git.lizzy.rs Git - rust.git/commit
core: derive Clone for result::IntoIter
authorJosh Stone <jistone@redhat.com>
Tue, 10 Oct 2017 17:18:34 +0000 (10:18 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 10 Oct 2017 17:18:34 +0000 (10:18 -0700)
commit9e8b33e811bca10e23bb9e80445122a8ab31225c
tree0817fa842f8831f70a3b571b6623ae5ddcc63ba8
parentec016f80cf725a9c8a613cdcd2ac97588d5f9af2
core: derive Clone for result::IntoIter

It appears to be a simple oversight that `result::IntoIter<T>` doesn't
implement `Clone` (where `T: Clone`).  We do already have `Clone` for
`result::Iter`, as well as the similar `option::IntoIter` and `Iter`.
src/libcore/result.rs