From 48636f3179990712b5b9da1633e5c1f6c570425b Mon Sep 17 00:00:00 2001 From: inrustwetrust Date: Wed, 6 May 2015 21:21:23 +0200 Subject: [PATCH] Add missing inline attribute to Not impl for Wrapping --- src/libcore/num/wrapping.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/num/wrapping.rs b/src/libcore/num/wrapping.rs index b7ca497db1863..69c2222949032 100644 --- a/src/libcore/num/wrapping.rs +++ b/src/libcore/num/wrapping.rs @@ -123,6 +123,7 @@ macro_rules! wrapping_impl { impl Not for Wrapping<$t> { type Output = Wrapping<$t>; + #[inline(always)] fn not(self) -> Wrapping<$t> { Wrapping(!self.0) }