Skip to content

Commit 2342e99

Browse files
authored
Bump typos to 1.34.0 (#20013)
# Objective Closes #20006 ## Solution Bump `typos` and also fix the new typos detected ## Testing CI
1 parent 75f49bd commit 2342e99

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ jobs:
294294
steps:
295295
- uses: actions/checkout@v4
296296
- name: Check for typos
297-
uses: crate-ci/typos@v1.33.1
297+
uses: crate-ci/typos@v1.34.0
298298
- name: Typos info
299299
if: failure()
300300
run: |

crates/bevy_core_widgets/src/core_slider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl Default for SliderRange {
176176
}
177177

178178
/// Defines the amount by which to increment or decrement the slider value when using keyboard
179-
/// shorctuts. Defaults to 1.0.
179+
/// shortcuts. Defaults to 1.0.
180180
#[derive(Component, Debug, PartialEq, Clone)]
181181
#[component(immutable)]
182182
pub struct SliderStep(pub f32);

crates/bevy_ecs/src/archetype.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ impl Archetype {
630630
#[inline]
631631
pub fn len(&self) -> u32 {
632632
// No entity may have more than one archetype row, so there are no duplicates,
633-
// and there may only ever be u32::MAX entities, so the length never exceeds u32's cappacity.
633+
// and there may only ever be u32::MAX entities, so the length never exceeds u32's capacity.
634634
self.entities.len() as u32
635635
}
636636

crates/bevy_ecs/src/storage/table/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ impl Table {
597597
#[inline]
598598
pub fn entity_count(&self) -> u32 {
599599
// No entity may have more than one table row, so there are no duplicates,
600-
// and there may only ever be u32::MAX entities, so the length never exceeds u32's cappacity.
600+
// and there may only ever be u32::MAX entities, so the length never exceeds u32's capacity.
601601
self.entities.len() as u32
602602
}
603603

crates/bevy_picking/src/hover.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ pub fn update_is_hovered(
344344
}
345345

346346
// Algorithm: for each entity having a `Hovered` component, we want to know if the current
347-
// entry in the hover map is "within" (that is, in the set of descenants of) that entity. Rather
347+
// entry in the hover map is "within" (that is, in the set of descendants of) that entity. Rather
348348
// than doing an expensive breadth-first traversal of children, instead start with the hovermap
349349
// entry and search upwards. We can make this even cheaper by building a set of ancestors for
350350
// the hovermap entry, and then testing each `Hovered` entity against that set.

crates/bevy_reflect/src/kind.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ pub enum ReflectRef<'a> {
215215
/// [function-like]: Function
216216
#[cfg(feature = "functions")]
217217
Function(&'a dyn Function),
218-
/// An immutable refeence to an [opaque] type.
218+
/// An immutable reference to an [opaque] type.
219219
///
220220
/// [opaque]: ReflectKind::Opaque
221221
Opaque(&'a dyn PartialReflect),
@@ -281,7 +281,7 @@ pub enum ReflectMut<'a> {
281281
///
282282
/// [function-like]: Function
283283
Function(&'a mut dyn Function),
284-
/// A mutable refeence to an [opaque] type.
284+
/// A mutable reference to an [opaque] type.
285285
///
286286
/// [opaque]: ReflectKind::Opaque
287287
Opaque(&'a mut dyn PartialReflect),

crates/bevy_utils/src/debug_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl DebugName {
7979
}
8080
}
8181

82-
/// Get the [`ShortName`] corresping to this debug name
82+
/// Get the [`ShortName`] corresponding to this debug name
8383
///
8484
/// The value will be a static string if the `debug` feature is not enabled
8585
pub fn shortname(&self) -> ShortName {

0 commit comments

Comments
 (0)