Crate unreachable[−][src]
unreachable
An unreachable code optimization hint in stable rust, and some useful
extension traits for Option
and Result
.
Re-exports
extern crate core; |
extern crate compiler_builtins; |
extern crate void; |
use core::prelude::v1::*; |
use core::mem; |
Traits
UncheckedOptionExt |
An extension trait for |
UncheckedResultExt |
An extension trait for |
Functions
unreachable⚠ |
Hint to the optimizer that any code path which calls this function is statically unreachable and can be removed. |