Fix typos (#12131)
# Objective The new `typos` check added in #12036 is proving its value already. It spotted some small typos: https://github.com/bevyengine/bevy/actions/runs/8053108519/job/21994719657?pr=12128 ## Solution Fix them. Co-authored-by: Alice Cecile <alice.i.cecil@gmail.com>
This commit is contained in:
parent
b96193e6ca
commit
1f2b5fcb2f
@ -823,7 +823,7 @@ mod tests {
|
|||||||
schedule.add_systems(
|
schedule.add_systems(
|
||||||
(
|
(
|
||||||
(|| {}).run_if(|| false),
|
(|| {}).run_if(|| false),
|
||||||
// This system depends on a sytem that is always skipped.
|
// This system depends on a system that is always skipped.
|
||||||
|mut commands: Commands| {
|
|mut commands: Commands| {
|
||||||
commands.insert_resource(R);
|
commands.insert_resource(R);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -210,7 +210,7 @@ impl AppGizmoBuilder for App {
|
|||||||
/// Holds handles to the line gizmos for each gizmo configuration group
|
/// Holds handles to the line gizmos for each gizmo configuration group
|
||||||
// As `TypeIdMap` iteration order depends on the order of insertions and deletions, this uses
|
// As `TypeIdMap` iteration order depends on the order of insertions and deletions, this uses
|
||||||
// `Option<Handle>` to be able to reserve the slot when creating the gizmo configuration group.
|
// `Option<Handle>` to be able to reserve the slot when creating the gizmo configuration group.
|
||||||
// That way iteration order is stable accross executions and depends on the order of configuration
|
// That way iteration order is stable across executions and depends on the order of configuration
|
||||||
// group creation.
|
// group creation.
|
||||||
#[derive(Resource, Default)]
|
#[derive(Resource, Default)]
|
||||||
struct LineGizmoHandles {
|
struct LineGizmoHandles {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user