Skip to content

Commit 82c0443

Browse files
Corrected comments on system initialization
1 parent f379b37 commit 82c0443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/bevy_ecs/src/system/exclusive_system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub trait ExclusiveSystem: Send + Sync + 'static {
1616
1717
fn run(&mut self, world: &mut World);
1818

19-
/// Runs the exclusive system directly on the world, initializing the world correctly
19+
/// Runs the exclusive system directly on the world, correctly initializing its state first
2020
///
2121
/// # Example
2222
///

crates/bevy_ecs/src/system/system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub trait System: Send + Sync + 'static {
100100
}
101101
/// Applies any buffers (such as `Commands`) created by this system's parameters to the world
102102
fn apply_buffers(&mut self, world: &mut World);
103-
/// Initialize the World, so that the system can safely run
103+
/// Initializes the system from the world, so that it may be run successfully
104104
fn initialize(&mut self, _world: &mut World);
105105
fn check_change_tick(&mut self, change_tick: u32);
106106
}

0 commit comments

Comments
 (0)