Skip to content

Commit

Permalink
make sure all PreviousState methods are private
Browse files Browse the repository at this point in the history
Signed-off-by: lee-orr <lee-orr@users.noreply.github.com>
  • Loading branch information
lee-orr committed Oct 2, 2023
1 parent 9ce4545 commit 220f428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/schedule/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ struct PreviousState<S: States>(S);

impl<S: States> PreviousState<S> {
/// Get the current state.
pub fn get(&self) -> &S {
fn get(&self) -> &S {
&self.0
}
}
Expand Down

0 comments on commit 220f428

Please sign in to comment.