Expand description
§unreachable
An unreachable code optimization hint in stable rust, and some useful
extension traits for Option
and Result
.
Traits§
- Unchecked
Option Ext - An extension trait for
Option<T>
providing unchecked unwrapping methods. - Unchecked
Result Ext - An extension trait for
Result<T, E>
providing unchecked unwrapping methods.
Functions§
- unreachable⚠
- Hint to the optimizer that any code path which calls this function is statically unreachable and can be removed.