Add a must_use to pos

This commit is contained in:
Gwilym Kuiper 2022-07-21 20:34:26 +01:00
parent 3de22df7a2
commit c2a4845a2e

View file

@ -378,6 +378,7 @@ impl SoundChannel {
/// Gets how far along the sound has played.
#[inline]
#[must_use]
pub fn pos(&self) -> Num<usize, 8> {
self.pos
}