Skip to content

Commit 1a5725e

Browse files
hymmjoseph-gio
andcommitted
clean up docs
Co-authored-by: JoJoJet <[email protected]>
1 parent eef04be commit 1a5725e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

crates/bevy_app/src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ struct SubApp {
9494
}
9595

9696
impl SubApp {
97-
/// run the `SubApp`'s schedule
97+
/// Runs the `SubApp`'s schedule.
9898
pub fn run(&mut self) {
9999
self.app.schedule.run(&mut self.app.world);
100100
self.app.world.clear_trackers();
101101
}
102102

103-
/// extract data from main world to sub app
103+
/// Extracts data from main world to this sub-app.
104104
pub fn extract(&mut self, main_world: &mut World) {
105105
(self.extract)(main_world, &mut self.app);
106106
}

crates/bevy_ecs/src/schedule/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ impl Schedule {
361361
.and_then(|stage| stage.downcast_mut::<T>())
362362
}
363363

364-
/// Remove a [`Stage`] from the schedule
364+
/// Removes a [`Stage`] from the schedule.
365365
pub fn remove_stage(&mut self, stage_label: impl StageLabel) -> Option<Box<dyn Stage>> {
366366
let label = stage_label.as_label();
367367

crates/bevy_render/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub enum RenderStage {
9292
Cleanup,
9393
}
9494

95-
/// Resource for holding the extract stage of the rendering schedule
95+
/// Resource for holding the extract stage of the rendering schedule.
9696
#[derive(Resource)]
9797
pub struct ExtractStage(pub SystemStage);
9898

0 commit comments

Comments
 (0)