about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorJohn Millikin <john@john-millikin.com>2022-09-29 07:33:05 +0900
committerJohn Millikin <john@john-millikin.com>2022-09-29 07:33:26 +0900
commitceb53a3c4fa9f0c3da7b7e6d24011dee1d15ad09 (patch)
tree1e259e5d865926fc4e202ea2fb113a53861aae2a /library/core/src
parentcdae82c5fc7b04fec84062e82feb0f119d526b81 (diff)
downloadrust-ceb53a3c4fa9f0c3da7b7e6d24011dee1d15ad09.tar.gz
rust-ceb53a3c4fa9f0c3da7b7e6d24011dee1d15ad09.zip
nonzero_negation_ops: `inline(always)` -> `inline`.
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/num/nonzero.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/nonzero.rs b/library/core/src/num/nonzero.rs
index 1e6e1a155ef..da402d66502 100644
--- a/library/core/src/num/nonzero.rs
+++ b/library/core/src/num/nonzero.rs
@@ -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()