5 lines
72 B
Rust
5 lines
72 B
Rust
|
let mut vec = vec![1, 2, 3];
|
||
|
for value in &vec {
|
||
|
vec.push(value);
|
||
|
}
|