Skip to content

Commit

Permalink
fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottjPierce committed Jan 29, 2025
1 parent 00ed24c commit aa1af43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2432,7 +2432,7 @@ impl Components {
}
}

/// A version of [`ComponentsViewRef::get_info_uchecked`] that doesn't always need to lock.
/// A version of [`ComponentsViewRef::get_info_unchecked`] that doesn't always need to lock.
///
/// # Safety
///
Expand Down Expand Up @@ -3271,7 +3271,7 @@ impl<'a> RequiredByStagedRef<'a> {

// TODO: replace ComponentInfoRef with https://doc.rust-lang.org/std/sync/struct.MappedRwLockReadGuard.html when it is stableized.

/// A reference to a particular component's info that may or may not need to lock [`Componnets`].
/// A reference to a particular component's info that may or may not need to lock [`Components`].
pub enum ComponentInfoRef<'a> {
/// the requested data was registered a while ago.
Stored(&'a ComponentInfo),
Expand Down

0 comments on commit aa1af43

Please sign in to comment.