Skip to content

Commit

Permalink
Context doesn't need to be pub
Browse files Browse the repository at this point in the history
Co-authored-by: James Liu <[email protected]>
  • Loading branch information
chescock and james7132 authored Feb 20, 2024
1 parent 2ba70eb commit 74c03e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/schedule/executor/multi_threaded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub struct ExecutorState {
// These all need to outlive 'scope in order to be sent to new tasks,
// and keeping them all in a struct means we can use lifetime elision.
#[derive(Copy, Clone)]
pub struct Context<'scope, 'env: 'scope, 'sys> {
struct Context<'scope, 'env: 'scope, 'sys> {
environment: &'env Environment<'env, 'sys>,
scope: &'scope Scope<'scope, 'env, ()>,
}
Expand Down

0 comments on commit 74c03e4

Please sign in to comment.