Fix doc_markdown lints in bevy_audio (#3469)

#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.
This commit is contained in:
Michael Dorst 2021-12-29 17:52:42 +00:00
parent 32d88c7d23
commit 608e63a5bc
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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;