Skip to content

Commit 4f19233

Browse files
raw pointer -> untyped pointer
1 parent 68a9bca commit 4f19233

File tree

1 file changed

+6
-6
lines changed
  • crates/bevy_ecs/src/world

1 file changed

+6
-6
lines changed

crates/bevy_ecs/src/world/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ impl World {
17511751
}
17521752

17531753
impl World {
1754-
/// Get a raw pointer to a particular [`Component`](crate::component::Component) and its [`ComponentTicks`] identified by their [`TypeId`]
1754+
/// Get an untyped pointer to a particular [`Component`](crate::component::Component) and its [`ComponentTicks`] identified by their [`TypeId`]
17551755
///
17561756
/// # Safety
17571757
/// - `storage_type` must accurately reflect where the components for `component_id` are stored.
@@ -1770,7 +1770,7 @@ impl World {
17701770
self.get_component_and_ticks(component_id, storage_type, entity, location)
17711771
}
17721772

1773-
/// Get a raw pointer to a particular [`Component`](crate::component::Component) and its [`ComponentTicks`]
1773+
/// Get an untyped pointer to a particular [`Component`](crate::component::Component) and its [`ComponentTicks`]
17741774
///
17751775
/// # Safety
17761776
/// - `location` must refer to an archetype that contains `entity`
@@ -1802,7 +1802,7 @@ impl World {
18021802
}
18031803
}
18041804

1805-
/// Get a raw pointer to a particular [`Component`](crate::component::Component) on a particular [`Entity`], identified by the component's type
1805+
/// Get an untyped pointer to a particular [`Component`](crate::component::Component) on a particular [`Entity`], identified by the component's type
18061806
///
18071807
/// # Safety
18081808
/// - `location` must refer to an archetype that contains `entity`
@@ -1822,7 +1822,7 @@ impl World {
18221822
self.get_component(component_id, storage_type, entity, location)
18231823
}
18241824

1825-
/// Get a raw pointer to a particular [`Component`](crate::component::Component) on a particular [`Entity`] in the provided [`World`](crate::world::World).
1825+
/// Get an untyped pointer to a particular [`Component`](crate::component::Component) on a particular [`Entity`] in the provided [`World`](crate::world::World).
18261826
///
18271827
/// # Safety
18281828
/// - `location` must refer to an archetype that contains `entity`
@@ -1849,7 +1849,7 @@ impl World {
18491849
}
18501850
}
18511851

1852-
/// Get a raw pointer to the [`ComponentTicks`] on a particular [`Entity`], identified by the component's [`TypeId`]
1852+
/// Get an untyped pointer to the [`ComponentTicks`] on a particular [`Entity`], identified by the component's [`TypeId`]
18531853
///
18541854
/// # Safety
18551855
/// - `location` must refer to an archetype that contains `entity`
@@ -1869,7 +1869,7 @@ impl World {
18691869
self.get_ticks(component_id, storage_type, entity, location)
18701870
}
18711871

1872-
/// Get a raw pointer to the [`ComponentTicks`] on a particular [`Entity`]
1872+
/// Get an untyped pointer to the [`ComponentTicks`] on a particular [`Entity`]
18731873
///
18741874
/// # Safety
18751875
/// - `location` must refer to an archetype that contains `entity`

0 commit comments

Comments
 (0)