From 3f6ea76e60ea11bb8b2bbebb59cf93b6cdc76911 Mon Sep 17 00:00:00 2001 From: Yoan Lecoq Date: Sun, 30 Apr 2017 10:17:44 +0200 Subject: [PATCH] Removed some #[inline] hints again --- traits/src/bounds.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traits/src/bounds.rs b/traits/src/bounds.rs index 0b8fbf4..56e0cea 100644 --- a/traits/src/bounds.rs +++ b/traits/src/bounds.rs @@ -37,8 +37,8 @@ bounded_impl!(i32, i32::MIN, i32::MAX); bounded_impl!(i64, i64::MIN, i64::MAX); impl Bounded for Wrapping { - #[inline] fn min_value() -> Self { Wrapping(T::min_value()) } - #[inline] fn max_value() -> Self { Wrapping(T::max_value()) } + fn min_value() -> Self { Wrapping(T::min_value()) } + fn max_value() -> Self { Wrapping(T::max_value()) } } bounded_impl!(f32, f32::MIN, f32::MAX);