From 887b31c2b0b3c76f0ae5510b38ed48dd6a254e9d Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Sat, 8 Jul 2023 23:55:11 +0900 Subject: [PATCH] =?UTF-8?q?doctest=E3=81=AE`no=5Frun`=E3=81=AB=20#537=20?= =?UTF-8?q?=E3=81=B8=E3=81=AE=E3=83=AA=E3=83=B3=E3=82=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/voicevox_core/src/devices.rs | 2 +- crates/voicevox_core/src/voice_synthesizer.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/voicevox_core/src/devices.rs b/crates/voicevox_core/src/devices.rs index 9a1d6da89..46a0f1de0 100644 --- a/crates/voicevox_core/src/devices.rs +++ b/crates/voicevox_core/src/devices.rs @@ -27,7 +27,7 @@ impl SupportedDevices { /// /// # Example /// - #[cfg_attr(windows, doc = "```no_run")] + #[cfg_attr(windows, doc = "```no_run")] // https://github.com/VOICEVOX/voicevox_core/issues/537 #[cfg_attr(not(windows), doc = "```")] /// use voicevox_core::SupportedDevices; /// diff --git a/crates/voicevox_core/src/voice_synthesizer.rs b/crates/voicevox_core/src/voice_synthesizer.rs index b8591e87d..1794069c3 100644 --- a/crates/voicevox_core/src/voice_synthesizer.rs +++ b/crates/voicevox_core/src/voice_synthesizer.rs @@ -124,7 +124,7 @@ impl Synthesizer { /// /// # Example /// - #[cfg_attr(windows, doc = "```no_run")] + #[cfg_attr(windows, doc = "```no_run")] // https://github.com/VOICEVOX/voicevox_core/issues/537 #[cfg_attr(not(windows), doc = "```")] /// # #[tokio::main] /// # async fn main() -> anyhow::Result<()> { @@ -298,7 +298,7 @@ impl Synthesizer { /// /// # Examples /// - #[cfg_attr(windows, doc = "```no_run")] + #[cfg_attr(windows, doc = "```no_run")] // https://github.com/VOICEVOX/voicevox_core/issues/537 #[cfg_attr(not(windows), doc = "```")] /// # #[tokio::main] /// # async fn main() -> anyhow::Result<()> { @@ -343,7 +343,7 @@ impl Synthesizer { /// # } /// ``` /// - #[cfg_attr(windows, doc = "```no_run")] + #[cfg_attr(windows, doc = "```no_run")] // https://github.com/VOICEVOX/voicevox_core/issues/537 #[cfg_attr(not(windows), doc = "```")] /// # #[tokio::main] /// # async fn main() -> anyhow::Result<()> { @@ -449,7 +449,7 @@ impl Synthesizer { /// /// # Examples /// - #[cfg_attr(windows, doc = "```no_run")] + #[cfg_attr(windows, doc = "```no_run")] // https://github.com/VOICEVOX/voicevox_core/issues/537 #[cfg_attr(not(windows), doc = "```")] /// # #[tokio::main] /// # async fn main() -> anyhow::Result<()> { @@ -494,7 +494,7 @@ impl Synthesizer { /// # } /// ``` /// - #[cfg_attr(windows, doc = "```no_run")] + #[cfg_attr(windows, doc = "```no_run")] // https://github.com/VOICEVOX/voicevox_core/issues/537 #[cfg_attr(not(windows), doc = "```")] /// # #[tokio::main] /// # async fn main() -> anyhow::Result<()> {