Skip to content

Commit 09073a9

Browse files
add doc links
1 parent a19adcd commit 09073a9

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
@@ -26,7 +26,7 @@ pub struct Storages {
2626
}
2727

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

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

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

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

0 commit comments

Comments
 (0)