debian/rust-vendor/bitvec/doc/vec/iter/IntoIterator.md
raw| 1 | # Bit-Vector Iteration |
| 2 | |
| 3 | Bit-vectors have the advantage that iteration consumes the whole structure, so |
| 4 | they can simply freeze the allocation into a bit-box, then use its iteration and |
| 5 | destructor. |
| 6 | |
| 7 | ## Original |
| 8 | |
| 9 | [`impl<T> IntoIterator for Vec<T>`][orig] |
| 10 | |
| 11 | [orig]: https://doc.rust-lang.org/alloc/vec/struct.Vec.html#impl-IntoIterator |