Skip to content

Commit

Permalink
Fix generated doctests failure
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Sep 9, 2024
1 parent fabd64f commit 76be9fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use bevy::prelude::*;
///
/// ```
/// use bevy::prelude::*;
/// use bevy_quickstart::audio::Music;
///
/// use crate::audio::Music;
///
/// fn set_music_volume(sink_query: Query<&AudioSink, With<Music>>) {
/// for sink in &sink_query {
Expand All @@ -25,7 +26,8 @@ pub struct Music;
///
/// ```
/// use bevy::prelude::*;
/// use bevy_quickstart::audio::SoundEffect;
///
/// use crate::audio::SoundEffect;
///
/// fn set_sound_effect_volume(sink_query: Query<&AudioSink, With<SoundEffect>>) {
/// for sink in &sink_query {
Expand Down

0 comments on commit 76be9fd

Please sign in to comment.