Skip to content

Commit

Permalink
pray the docs are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniaczQ committed Jun 3, 2024
1 parent 6686d5f commit 2e53677
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/bevy_state/src/state_bound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ use crate::state::{StateTransitionEvent, States};
///
/// ```
/// use bevy_state::prelude::*;
/// use bevy_ecs::prelude::IntoSystemConfigs;
///
/// use bevy_ecs::prelude::*;
///
/// #[derive(Clone, Copy, PartialEq, Eq, Hash, Debug, Default, States)]
/// enum GameState {
Expand All @@ -39,6 +38,8 @@ use crate::state::{StateTransitionEvent, States};
///
/// # struct AppMock;
/// # impl AppMock {
/// # fn init_state<S>(&mut self) {}
/// # fn add_state_bound<S>(&mut self) {}
/// # fn add_systems<S, M>(&mut self, schedule: S, systems: impl IntoSystemConfigs<M>) {}
/// # }
/// # struct Update;
Expand Down

0 comments on commit 2e53677

Please sign in to comment.