From 4e334f4baaf4be4cd4028789e373ae58bdf70bb5 Mon Sep 17 00:00:00 2001 From: Yuniru Yuni Date: Tue, 25 Apr 2023 23:04:54 +0900 Subject: [PATCH] docs: delete id arguments from create_state description --- src/whisper_ctx.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/whisper_ctx.rs b/src/whisper_ctx.rs index 8eae734..635d9e8 100644 --- a/src/whisper_ctx.rs +++ b/src/whisper_ctx.rs @@ -59,12 +59,8 @@ impl WhisperContext { /// Create a new state object, ready for use. /// - /// # Arguments - /// * id: The ID of the state object. Must be unique. - /// /// # Returns - /// Ok(()) on success, Err(WhisperError) on failure. - /// If the ID is already in use, returns Err(WhisperError::StateIdAlreadyExists). + /// Ok(WhieperState) on success, Err(WhisperError) on failure. /// /// # C++ equivalent /// `struct whisper_state * whisper_init_state(struct whisper_context * ctx);`