From 932e45c2076f06d13e7341e369080fb2b95146d3 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 10 Aug 2016 22:22:53 -0700 Subject: [PATCH] traits: inline integer from_str_radix --- traits/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/traits/src/lib.rs b/traits/src/lib.rs index 13f8cf7..2113ea6 100644 --- a/traits/src/lib.rs +++ b/traits/src/lib.rs @@ -46,6 +46,7 @@ macro_rules! int_trait_impl { ($name:ident for $($t:ty)*) => ($( impl $name for $t { type FromStrRadixErr = ::std::num::ParseIntError; + #[inline] fn from_str_radix(s: &str, radix: u32) -> Result {