Skip to main content

extern_spec_T_A_Vec_T_A_clear

Function extern_spec_T_A_Vec_T_A_clear 

Source
pub fn extern_spec_T_A_Vec_T_A_clear<T, A: Allocator>(self_: &mut Vec<T, A>)
Expand description

extern spec for Vec<T, A>::clear

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

terminates

ghost

ensures

(^self)@.len() == 0