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:
parent
32d88c7d23
commit
608e63a5bc
@ -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)
|
pub fn play_queued_audio_system<P: Asset>(world: &mut World)
|
||||||
where
|
where
|
||||||
P: Decodable,
|
P: Decodable,
|
||||||
|
|||||||
@ -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)]
|
#[derive(Default)]
|
||||||
pub struct Mp3Loader;
|
pub struct Mp3Loader;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user