fix: keep &mut self

This commit is contained in:
jiahua 2024-04-30 09:09:52 +08:00
parent f30d0ea0a1
commit e4f8910b1b
3 changed files with 9 additions and 9 deletions

View file

@ -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)
}