pub(crate) fn trim_start(&mut self, n: usize) {
        assert!(n <= self.len);
        let entries_per = limb::entries_per_limb_const::<P>();
        assert_eq!(n % entries_per, 0);
        let num_limbs = n / entries_per;
        self.limbs.drain(0..num_limbs);
        self.len -= n;
    }
/// Permanently remove the first `n` elements in the vector. `n` must be a multiple of
/// the number of entries per limb
Permanently remove the first `n` elements in the vector. `n` must be a multiple of
the number of entries per limb
Permanently remove the first ` n ` elements in the vector . ` n ` must be a multiple of the number of entries per limb
pub(crate) fn trim_start(&mut self, n: usize) {
        assert!(n <= self.len);
        let entries_per = limb::entries_per_limb_const::<P>();
        assert_eq!(n % entries_per, 0);
        let num_limbs = n / entries_per;
        self.limbs.drain(0..num_limbs);
        self.len -= n;
    }
pub ( crate ) fn trim_start ( & mut self , n : usize ) { assert ! ( n self len ) ; let entries_per = limb :: entries_per_limb_const :: < P > ( ) ; assert_eq ! ( n entries_per 0 ) ; let num_limbs = n / entries_per ; self . limbs . drain ( 0 .. num_limbs ) ; self . len -= n ; }
Permanently remove the first `n` elements in the vector.
Permanently remove the first ` n ` elements in the vector .
&mut self
n
usize
&mut self
n
usize