mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 22:18:33 +00:00
Micro typo in bevy_ecs
(#15167)
I'm currently reading through the code and docs and found this.
This commit is contained in:
parent
15e246eff8
commit
327e1ddba4
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ impl Debug for ComponentDescriptor {
|
||||||
impl ComponentDescriptor {
|
impl ComponentDescriptor {
|
||||||
/// # SAFETY
|
/// # 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<'_>) {
|
unsafe fn drop_ptr<T>(x: OwningPtr<'_>) {
|
||||||
// SAFETY: Contract is required to be upheld by the caller.
|
// SAFETY: Contract is required to be upheld by the caller.
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
Loading…
Add table
Reference in a new issue