Reputation: 13250
Many iterators implement the Clone
trait, but none of them implement the Copy
trait. At least for simple iterators like std:slice::Iter
, the Clone
implementation looks like a memcpy anyway, so why isn't Copy
also implemented?
Upvotes: 9
Views: 850