Skip to content

Commit

Permalink
nonzero_negation_ops: inline(always) -> inline.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillikin committed Sep 28, 2022
1 parent cdae82c commit ceb53a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/num/nonzero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ macro_rules! nonzero_signed_operations {
/// # }
/// ```
#[must_use]
#[inline(always)]
#[inline]
#[unstable(feature = "nonzero_negation_ops", issue = "102443")]
pub const fn is_negative(self) -> bool {
self.get().is_negative()
Expand Down

0 comments on commit ceb53a3

Please sign in to comment.