From 5ee2e705f5a0f7ba46ff0788d260e629a239f3fc Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Tue, 10 Sep 2024 20:26:04 +0900 Subject: [PATCH] =?UTF-8?q?`join`=20=E2=86=92=20`join=5Fall`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/VOICEVOX/voicevox_core/pull/830#discussion_r1751120123 --- crates/voicevox_core/src/infer/domains.rs | 2 +- crates/voicevox_core/src/voice_model.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/voicevox_core/src/infer/domains.rs b/crates/voicevox_core/src/infer/domains.rs index 664732c35..9cae20b2e 100644 --- a/crates/voicevox_core/src/infer/domains.rs +++ b/crates/voicevox_core/src/infer/domains.rs @@ -41,7 +41,7 @@ impl InferenceDomainMap<(Result,)> { } impl InferenceDomainMap<(T,)> { - pub(crate) async fn join(self) -> InferenceDomainMap<(T::Output,)> { + pub(crate) async fn join_all(self) -> InferenceDomainMap<(T::Output,)> { let talk = self.talk.await; InferenceDomainMap { talk } } diff --git a/crates/voicevox_core/src/voice_model.rs b/crates/voicevox_core/src/voice_model.rs index a2cc1ddb7..97aade434 100644 --- a/crates/voicevox_core/src/voice_model.rs +++ b/crates/voicevox_core/src/voice_model.rs @@ -242,7 +242,7 @@ impl Inner { } }, }) - .join() + .join_all() .map(InferenceDomainMap::collect) }) .await