diff options
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.rs b/src/util.rs index 2e34b2a6..ccb22cc9 100644 --- a/src/util.rs +++ b/src/util.rs @@ -15,6 +15,7 @@ use std::cmp; #[cfg(not(feature = "nightly"))] #[inline(always)] +#[cfg_attr(feature = "clippy", allow(inline_always))] pub unsafe fn unlikely(x: bool) -> bool { x } |