Skip to content

Commit

Permalink
Bump nonzero_div feature to Rust 1.51
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 27, 2020
1 parent 1e9e30d commit 9586643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/num/nonzero.rs
Expand Up @@ -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,
Expand All @@ -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.
Expand Down

0 comments on commit 9586643

Please sign in to comment.