diff --git a/crates/bevy_ecs/src/reflect/component.rs b/crates/bevy_ecs/src/reflect/component.rs index f91ac8e900225..c86f34b22b3d6 100644 --- a/crates/bevy_ecs/src/reflect/component.rs +++ b/crates/bevy_ecs/src/reflect/component.rs @@ -279,7 +279,7 @@ impl FromType for ReflectComponent { }, reflect_unchecked_mut: |entity| { // SAFETY: reflect_unchecked_mut is an unsafe function pointer used by - // `reflect_unchecked_mut` which must be called with an UnsafeEntityCell with access to the the component `C` on the `entity` + // `reflect_unchecked_mut` which must be called with an UnsafeEntityCell with access to the component `C` on the `entity` unsafe { entity.get_mut::().map(|c| Mut { value: c.value as &mut dyn Reflect, diff --git a/crates/bevy_pbr/src/pbr_material.rs b/crates/bevy_pbr/src/pbr_material.rs index f979765c5d471..47c861c155789 100644 --- a/crates/bevy_pbr/src/pbr_material.rs +++ b/crates/bevy_pbr/src/pbr_material.rs @@ -254,7 +254,7 @@ pub struct StandardMaterial { /// - It will look weird on bent/non-planar surfaces. /// - The depth of the pixel does not reflect its visual position, resulting /// in artifacts for depth-dependent features such as fog or SSAO. - /// - For the same reason, the the geometry silhouette will always be + /// - For the same reason, the geometry silhouette will always be /// the one of the actual geometry, not the parallaxed version, resulting /// in awkward looks on intersecting parallaxed surfaces. /// diff --git a/crates/bevy_render/src/render_asset.rs b/crates/bevy_render/src/render_asset.rs index 266a3e148c2d4..7dc222e1e701e 100644 --- a/crates/bevy_render/src/render_asset.rs +++ b/crates/bevy_render/src/render_asset.rs @@ -156,7 +156,7 @@ impl RenderAssets { } } -/// This system extracts all crated or modified assets of the corresponding [`RenderAsset`] type +/// This system extracts all created or modified assets of the corresponding [`RenderAsset`] type /// into the "render world". fn extract_render_asset( mut commands: Commands, diff --git a/crates/bevy_ui/src/layout/mod.rs b/crates/bevy_ui/src/layout/mod.rs index 90603577b1d65..fbf7a986381d6 100644 --- a/crates/bevy_ui/src/layout/mod.rs +++ b/crates/bevy_ui/src/layout/mod.rs @@ -551,8 +551,8 @@ mod tests { world.despawn(ui_entity); - // `ui_layout_system` will recieve a `RemovedComponents` event for `ui_entity` - // and remove `ui_entity` from `ui_node` from the internal layout tree + // `ui_layout_system` will receive a `RemovedComponents` event for `ui_entity` + // and remove `ui_entity` from `ui_node` from the internal layout tree ui_schedule.run(&mut world); let ui_surface = world.resource::(); diff --git a/crates/bevy_utils/src/label.rs b/crates/bevy_utils/src/label.rs index 019965804e58f..9d993c5993809 100644 --- a/crates/bevy_utils/src/label.rs +++ b/crates/bevy_utils/src/label.rs @@ -73,7 +73,7 @@ macro_rules! define_boxed_label { ($label_trait_name:ident) => { /// A strongly-typed label. pub trait $label_trait_name: 'static + Send + Sync + ::std::fmt::Debug { - /// Return's the [`TypeId`] of this label, or the the ID of the + /// Return's the [`TypeId`] of this label, or the ID of the /// wrapped label type for `Box` diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index 10bdd8fe8b5ca..b77b633dae62b 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -1054,7 +1054,7 @@ pub struct EnabledButtons { /// /// macOS note: When [`Window`] `resizable` member is set to `false` /// the maximize button will be disabled regardless of this value. - /// Additionaly, when `resizable` is set to `true` the window will + /// Additionally, when `resizable` is set to `true` the window will /// be maximized when its bar is double-clicked regardless of whether /// the maximize button is enabled or not. pub maximize: bool, diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs index 92e6674674b83..a13c158709bfe 100644 --- a/crates/bevy_winit/src/lib.rs +++ b/crates/bevy_winit/src/lib.rs @@ -67,7 +67,7 @@ pub static ANDROID_APP: std::sync::OnceLock = std::sync::OnceLock::n /// events. /// /// This plugin will add systems and resources that sync with the `winit` backend and also -/// replace the exising [`App`] runner with one that constructs an [event loop](EventLoop) to +/// replace the existing [`App`] runner with one that constructs an [event loop](EventLoop) to /// receive window and input events from the OS. #[derive(Default)] pub struct WinitPlugin;