Skip to content

Commit 99aab8d

Browse files
add doc links
1 parent 825970f commit 99aab8d

File tree

1 file changed

+4
-4
lines changed
  • crates/bevy_ecs/src/storage

1 file changed

+4
-4
lines changed

crates/bevy_ecs/src/storage/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub struct Storages {
2727
}
2828

2929
impl Storages {
30-
/// Get a raw pointer to a particular [`Component`] and its [`ComponentTicks`] identified by their [`TypeId`]
30+
/// Get a raw pointer to a particular [`Component`](crate::component::Component) and its [`ComponentTicks`] identified by their [`TypeId`]
3131
///
3232
/// # Safety
3333
/// - `entity_location` must be within bounds of the given archetype and `entity` must exist inside
@@ -49,7 +49,7 @@ impl Storages {
4949
self.get_component_and_ticks(archetypes, component_id, storage_type, entity, location)
5050
}
5151

52-
/// Get a raw pointer to a particular [`Component`] and its [`ComponentTicks`]
52+
/// Get a raw pointer to a particular [`Component`](crate::component::Component) and its [`ComponentTicks`]
5353
///
5454
/// # Safety
5555
/// - `entity_location` must be within bounds of the given archetype and `entity` must exist inside
@@ -84,7 +84,7 @@ impl Storages {
8484
}
8585
}
8686

87-
/// Get a raw pointer to a particular [`Component`] on a particular [`Entity`], identified by the component's [`Type`]
87+
/// Get a raw pointer to a particular [`Component`](crate::component::Component) on a particular [`Entity`], identified by the component's type
8888
///
8989
/// # Safety
9090
/// - `entity_location` must be within bounds of the given archetype and `entity` must exist inside
@@ -105,7 +105,7 @@ impl Storages {
105105
self.get_component(archetypes, component_id, storage_type, entity, location)
106106
}
107107

108-
/// Get a raw pointer to a particular [`Component`] on a particular [`Entity`] in the provided [`World`].
108+
/// Get a raw pointer to a particular [`Component`](crate::component::Component) on a particular [`Entity`] in the provided [`World`](crate::world::World).
109109
///
110110
/// # Safety
111111
/// - `entity_location` must be within bounds of the given archetype and `entity` must exist inside

0 commit comments

Comments
 (0)