Skip to content

Commit 311d2a3

Browse files
add doc links
1 parent ea0fc1a commit 311d2a3

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
@@ -46,7 +46,7 @@ impl Storages {
4646
self.get_component_and_ticks(archetypes, components, component_id, entity, location)
4747
}
4848

49-
/// Get a raw pointer to a particular [`Component`] and its [`ComponentTicks`]
49+
/// Get a raw pointer to a particular [`Component`](crate::component::Component) and its [`ComponentTicks`]
5050
///
5151
/// # Safety
5252
/// - `entity_location` must be within bounds of the given archetype and `entity` must exist inside
@@ -85,7 +85,7 @@ impl Storages {
8585
}
8686
}
8787

88-
/// Get a raw pointer to a particular [`Component`] on a particular [`Entity`], identified by the component's [`Type`]
88+
/// Get a raw pointer to a particular [`Component`](crate::component::Component) on a particular [`Entity`], identified by the component's type
8989
///
9090
/// # Safety
9191
/// - `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, components, component_id, 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)