phd-typst/assets/dash-3d-implementation/undefined-behaviour.rs

5 lines
72 B
Rust
Raw Permalink Normal View History

2023-04-14 17:27:59 +01:00
let mut vec = vec![1, 2, 3];
for value in &vec {
vec.push(value);
}