From 1df0566b01fa84522634705d5949aa4a12607670 Mon Sep 17 00:00:00 2001 From: Julien Tregoat Date: Wed, 27 May 2020 01:35:02 -0400 Subject: [PATCH] add missing inline attr --- src/samples_formats.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/samples_formats.rs b/src/samples_formats.rs index 003334c1b..21c30b032 100644 --- a/src/samples_formats.rs +++ b/src/samples_formats.rs @@ -62,6 +62,7 @@ unsafe impl Sample for u16 { } } + #[inline] fn to_i32(&self) -> i32 { self.to_i16() as i32 }