It makes no sense for WhisperState::full() to return an int: the only possible returned value is 0. Hence, it adds no information whatsoever. Worse yet, it is confusing everyone using the method. Just return nothing on success. |
||
|---|---|---|
| .. | ||
| whisper_state | ||
| common_logging.rs | ||
| error.rs | ||
| ggml_logging_hook.rs | ||
| lib.rs | ||
| standalone.rs | ||
| utilities.rs | ||
| vulkan.rs | ||
| whisper_ctx.rs | ||
| whisper_ctx_wrapper.rs | ||
| whisper_grammar.rs | ||
| whisper_logging_hook.rs | ||
| whisper_params.rs | ||
| whisper_vad.rs | ||