diff --git a/src/whisper_state.rs b/src/whisper_state.rs index d6e09ea..16c2fc5 100644 --- a/src/whisper_state.rs +++ b/src/whisper_state.rs @@ -353,7 +353,7 @@ impl WhisperState { } /// Get an iterator over all segments. - pub fn as_iter(&self) -> WhisperStateSegmentIterator { + pub fn as_iter(&self) -> WhisperStateSegmentIterator<'_> { WhisperStateSegmentIterator::new(self) } }