/// assert_eq!(digits, "123451");
/// # }
/// ```
+ ///
+ /// Because this calls [`Verhoeff::calculate_verhoeff_check_digit`],
+ /// it will panic if the input is not comprised of appropriate digits.
fn push_verhoeff_check_digit(&mut self);
}
/// digits.push_verhoeff_check_digit();
/// assert_eq!(digits, [1, 2, 3, 4, 5, 1]);
/// ```
+ ///
+ /// Because this calls [`Verhoeff::calculate_verhoeff_check_digit`],
+ /// it will panic if the input is not comprised of appropriate digits.
fn push_verhoeff_check_digit(&mut self) {
self.push(self.calculate_verhoeff_check_digit());
}