1 2 3 4 5 6 7
/// Map any type to any type, but this function should be never called. /// /// this can be a shortcut for `unreachable!()` #[inline(always)] pub fn never<A, B>(_: A) -> B { unreachable!("never function called") }