Skip to content

Commit

Permalink
add SAFE comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSWard committed Jun 23, 2021
1 parent ddbaf2f commit 8eeace8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_reflect/src/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ impl DynamicArray {
}
}

// SAFE: any and any_mut both return self
unsafe impl Reflect for DynamicArray {
#[inline]
fn type_name(&self) -> &str {
Expand Down

0 comments on commit 8eeace8

Please sign in to comment.