extern_spec_std_slice_from_ref

Function extern_spec_std_slice_from_ref 

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

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

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

terminates

ghost

ensures

result@.len() == 1

ensures

result@[0] == *s