pulley_interpreter::decode

Function unwrap_uninhabited

Source
pub fn unwrap_uninhabited<T>(res: Result<T, Uninhabited>) -> T
Available on crate feature decode only.
Expand description

Unwrap a Result<T, Uninhabited>. Always succeeds, since Uninhabited is uninhabited.