diff --git a/library/stdarch/src/macros.rs b/library/stdarch/src/macros.rs index bf84f7151a42..aadb986052fd 100644 --- a/library/stdarch/src/macros.rs +++ b/library/stdarch/src/macros.rs @@ -249,6 +249,7 @@ macro_rules! define_casts { ($(($ty:ident, $floatty:ident, $floatcast:ident)),+) => { $( impl $ty { + #[inline] pub fn $floatcast(self) -> ::$floatty { unsafe { simd_cast(self) } }