Skip to content

Commit

Permalink
Fix doc_markdown lints in bevy_audio (#3469)
Browse files Browse the repository at this point in the history
#3457 adds the `doc_markdown` clippy lint, which checks doc comments to make sure code identifiers are escaped with backticks. This causes a lot of lint errors, so this is one of a number of PR's that will fix those lint errors one crate at a time.

This PR fixes lints in the `bevy_audio` crate.
  • Loading branch information
mfdorst committed Dec 29, 2021
1 parent 32d88c7 commit 608e63a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_audio/src/audio_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ where
}
}

/// Plays audio currently queued in the [Audio] resource through the [AudioOutput] resource
/// Plays audio currently queued in the [`Audio`] resource through the [`AudioOutput`] resource
pub fn play_queued_audio_system<P: Asset>(world: &mut World)
where
P: Decodable,
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_audio/src/audio_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl AsRef<[u8]> for AudioSource {
}
}

/// Loads mp3 files as [AudioSource] [Assets](bevy_asset::Assets)
/// Loads mp3 files as [`AudioSource`] [`Assets`](bevy_asset::Assets)
#[derive(Default)]
pub struct Mp3Loader;

Expand Down

0 comments on commit 608e63a

Please sign in to comment.