Skip to content

Commit

Permalink
Fix doc typo for app builder with local functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerald committed Oct 29, 2020
1 parent 77d492b commit 73cea50
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/bevy_app/src/app_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl AppBuilder {
self.add_systems_to_stage(stage::UPDATE, systems)
}

/// Adds `system` with it's `Local<T>` resource initialized to `resource`
/// Adds `system` with its `Local<T>` resource initialized to `resource`
pub fn add_system_with_local<T: Resource>(
&mut self,
system: Box<dyn System>,
Expand Down Expand Up @@ -156,7 +156,7 @@ impl AppBuilder {
self
}

/// Adds `system` as a startup system to `stage_name` with it's `Local<T>` resource initialized to `resource`
/// Adds `system` as a startup system to `stage_name` with its `Local<T>` resource initialized to `resource`
pub fn add_startup_system_to_stage_with_local<T: Resource>(
&mut self,
stage_name: &'static str,
Expand All @@ -182,7 +182,7 @@ impl AppBuilder {
self.add_startup_systems_to_stage(startup_stage::STARTUP, systems)
}

/// Adds `system` as a startup system with it's `Local<T>` resource initialized to `resource`
/// Adds `system` as a startup system with its `Local<T>` resource initialized to `resource`
pub fn add_startup_system_with_local<T: Resource>(
&mut self,
system: Box<dyn System>,
Expand Down Expand Up @@ -256,7 +256,7 @@ impl AppBuilder {
self
}

/// Adds `system` to `stage_name` with it's `Local<T>` resource initialized to `resource`
/// Adds `system` to `stage_name` with its `Local<T>` resource initialized to `resource`
pub fn add_system_to_stage_with_local<T: Resource>(
&mut self,
stage_name: &'static str,
Expand All @@ -271,7 +271,7 @@ impl AppBuilder {
self
}

/// Adds `system` to the front of `stage_name` with it's `Local<T>` resource initialized to `resource`
/// Adds `system` to the front of `stage_name` with its `Local<T>` resource initialized to `resource`
pub fn add_system_to_stage_front_with_local<T: Resource>(
&mut self,
stage_name: &'static str,
Expand Down

0 comments on commit 73cea50

Please sign in to comment.