3 ms·
Safe Rust has no UB, by design, but unsafe does exist. We have a fairly short list of UB though https://doc.rust-lang.org/reference/behavior-considered-undefine
by steveklabnik 8y ago
Safe Rust has no UB, by design, but unsafe does exist. We have a fairly short list of UB though https://doc.rust-lang.org/reference/behavior-considered-undefined.html https://doc.rust-lang.org/reference/behavior-considered-unde...