Why is it undefined behaviour

โš“ Rust    ๐Ÿ“… 2025-12-07    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 1      

surdeus

Using miri; it says its undefined behaviour but running it displays normally (unless it doesnโ€™t?)
I donโ€™t what IntoIter with arrays internally but I know maybe IntoIter stores the array internally

It is due to removing provenance?

3 posts - 3 participants

Read full topic

๐Ÿท๏ธ Rust_feed