Undefined Behavior

Undefined behavior, often abbreviated UB, is the result of a violated assumption of the compiler or optimizer. Rust strives to be entirely free of undefined behavior, if the programmer doesn't resort to unsafe code.