mirror of
https://github.com/italicsjenga/agb.git
synced 2025-02-04 21:46:39 +11:00
Add a must_use to pos
This commit is contained in:
parent
3de22df7a2
commit
c2a4845a2e
1 changed files with 1 additions and 0 deletions
|
@ -378,6 +378,7 @@ impl SoundChannel {
|
||||||
|
|
||||||
/// Gets how far along the sound has played.
|
/// Gets how far along the sound has played.
|
||||||
#[inline]
|
#[inline]
|
||||||
|
#[must_use]
|
||||||
pub fn pos(&self) -> Num<usize, 8> {
|
pub fn pos(&self) -> Num<usize, 8> {
|
||||||
self.pos
|
self.pos
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue