From 633dfc305e92e5d32448ffd0ac7b631017d45aa1 Mon Sep 17 00:00:00 2001 From: Masato Kikuchi Date: Mon, 31 Mar 2025 23:04:23 +0900 Subject: [PATCH] delete mut --- crates/sbv2_editor/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sbv2_editor/src/main.rs b/crates/sbv2_editor/src/main.rs index cc4bf16..88d79d4 100644 --- a/crates/sbv2_editor/src/main.rs +++ b/crates/sbv2_editor/src/main.rs @@ -39,7 +39,7 @@ async fn create_audio_query( Query(request): Query, ) -> AppResult { let (text, process) = { - let mut tts_model = state.tts_model.lock().await; + let tts_model = state.tts_model.lock().await; preprocess_parse_text(&request.text, &tts_model.jtalk)? }; let kana_tone_list = process.g2kana_tone()?;