Skip to content

Commit

Permalink
doctestのno_run#537 へのリンク
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Jul 8, 2023
1 parent 2e1f154 commit 887b31c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/voicevox_core/src/devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
///
Expand Down
10 changes: 5 additions & 5 deletions crates/voicevox_core/src/voice_synthesizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand Down Expand Up @@ -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<()> {
Expand Down Expand Up @@ -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<()> {
Expand Down Expand Up @@ -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<()> {
Expand Down Expand Up @@ -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<()> {
Expand Down

0 comments on commit 887b31c

Please sign in to comment.