Skip to content

Commit

Permalink
Micro typo in bevy_ecs (#15167)
Browse files Browse the repository at this point in the history
I'm currently reading through the code and docs and found this.
  • Loading branch information
RobWalt authored Sep 12, 2024
1 parent 15e246e commit 327e1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ impl Debug for ComponentDescriptor {
impl ComponentDescriptor {
/// # SAFETY
///
/// `x` must points to a valid value of type `T`.
/// `x` must point to a valid value of type `T`.
unsafe fn drop_ptr<T>(x: OwningPtr<'_>) {
// SAFETY: Contract is required to be upheld by the caller.
unsafe {
Expand Down

0 comments on commit 327e1dd

Please sign in to comment.