Skip to content

Commit

Permalink
add missing inline attr
Browse files Browse the repository at this point in the history
  • Loading branch information
julientregoat committed Oct 11, 2020
1 parent 43cacda commit 1df0566
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/samples_formats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ unsafe impl Sample for u16 {
}
}

#[inline]
fn to_i32(&self) -> i32 {
self.to_i16() as i32
}
Expand Down

0 comments on commit 1df0566

Please sign in to comment.