fix: keep &mut self
This commit is contained in:
parent
f30d0ea0a1
commit
e4f8910b1b
3 changed files with 9 additions and 9 deletions
|
|
@ -448,7 +448,7 @@ impl WhisperContext {
|
|||
///
|
||||
/// # C++ equivalent
|
||||
/// `bool whisper_full_get_segment_speaker_turn_next(struct whisper_context * ctx, int i_segment)`
|
||||
pub fn full_get_segment_speaker_turn_next(&self, i_segment: c_int) -> bool {
|
||||
pub fn full_get_segment_speaker_turn_next(&mut self, i_segment: c_int) -> bool {
|
||||
self.ctx.full_get_segment_speaker_turn_next(i_segment)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue