mirror of
https://github.com/danbulant/oxc
synced 2026-05-22 13:48:55 +00:00
Implement `IntoIterator` for `&mut Vec` like `std::vec::Vec` does. This allows shorter and more idiomatic syntax.
Before:
```rs
for item in object.collection.iter_mut() {
// ...
}
```
After:
```rs
for item in &mut object.collection {
// ...
}
```
|
||
|---|---|---|
| .. | ||
| address.rs | ||
| allocator_api2.rs | ||
| boxed.rs | ||
| clone_in.rs | ||
| convert.rs | ||
| lib.rs | ||
| serialize.rs | ||
| vec.rs | ||