mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
Add a must_use to pos
This commit is contained in:
parent
3de22df7a2
commit
c2a4845a2e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue