Bump nonzero_div feature to Rust 1.51

This commit is contained in:
David Tolnay 2020-12-27 03:17:30 -08:00
parent 1e9e30dc40
commit 9586643912
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -267,7 +267,7 @@ nonzero_leading_trailing_zeros! {
macro_rules! nonzero_integers_div {
( $( $Ty: ident($Int: ty); )+ ) => {
$(
#[stable(feature = "nonzero_div", since = "1.50.0")]
#[stable(feature = "nonzero_div", since = "1.51.0")]
impl Div<$Ty> for $Int {
type Output = $Int;
/// This operation rounds towards zero,
@ -280,7 +280,7 @@ macro_rules! nonzero_integers_div {
}
}
#[stable(feature = "nonzero_div", since = "1.50.0")]
#[stable(feature = "nonzero_div", since = "1.51.0")]
impl Rem<$Ty> for $Int {
type Output = $Int;
/// This operation satisfies `n % d == n - (n / d) * d`, and cannot panic.