unsafe fn push_unchecked<T>(vec: &mut Vec<T>, value: T) {
    let end = vec.as_mut_ptr().add(vec.len());
    std::ptr::write(end, value);
    vec.set_len(vec.len() + 1);
}
/// Pushes `value` to `vec` without checking that the vector has sufficient capacity.
///
/// If `vec.len() == vec.cap()`, calling this function is UB.
Pushes `value` to `vec` without checking that the vector has sufficient capacity.
Pushes ` value ` to ` vec ` without checking that the vector has sufficient capacity .
unsafe fn push_unchecked<T>(vec: &mut Vec<T>, value: T) {
    let end = vec.as_mut_ptr().add(vec.len());
    std::ptr::write(end, value);
    vec.set_len(vec.len() + 1);
}
unsafe fn push_unchecked < T > ( vec : & mut Vec < T > , value : T ) { let end = vec . as_mut_ptr ( ) . add ( vec . len ( ) ) ; std :: ptr :: write ( end , value ) ; vec . set_len ( vec . len ( ) + 1 ) ; }
Pushes `value` to `vec` without checking that the vector has sufficient capacity.
Pushes ` value ` to ` vec ` without checking that the vector has sufficient capacity .
vec
&mut Vec<T>
value
T
vec
&mut Vec<T>
value
T