extern_spec_std_slice_from_mut

Function extern_spec_std_slice_from_mut 

Source
pub fn extern_spec_std_slice_from_mut<T>(s: &mut T) -> &mut [T]
Expand description

extern spec for ::std::slice::from_mut<T>

This is not a real function: its only use is for documentation.

terminates

ghost

ensures

result@.len() == 1

ensures

result@[0] == *s

ensures

(^result)@.len() == 1

ensures

(^result)@[0] == ^s