pub fn extern_spec_TryFrom_i16_u16_try_from(
value: i16,
) -> Result<u16, TryFromIntError>Expand description
extern spec for u16::try_from
This is not a real function: its only use is for documentation.
ghost
ensures
match result { Ok(val) => val@ == value@, Err(_) => value@ < 0 }