Make self parameter to has_credit non-mutable
This commit is contained in:
parent
e727fe8675
commit
520860622b
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
fn has_credit(&mut self) -> bool {
|
||||
fn has_credit(&self) -> bool {
|
||||
self.sdpcm_seq != self.sdpcm_seq_max && self.sdpcm_seq_max.wrapping_sub(self.sdpcm_seq) & 0x80 == 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue