Skip to content

Commit a45688a

Browse files
committed
Merge branch 'staging' into feat/refactoring
2 parents fabf5a7 + 9b9dd57 commit a45688a

File tree

6 files changed

+78
-1107
lines changed

6 files changed

+78
-1107
lines changed

crates/bevy_mod_scripting_core/src/bindings/reference.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,6 @@ impl ReflectReference {
221221

222222
/// The way to access the value of the reference, that is the pointed-to value.
223223
/// This method is safe to use as it ensures no-one else has aliasing access to the value at the same time.
224-
///
225-
/// # Panics
226-
/// - if the value is aliased and the access is not allowed
227224
#[track_caller]
228225
pub fn with_reflect<O, F: FnOnce(&dyn PartialReflect) -> O>(
229226
&self,
@@ -241,9 +238,6 @@ impl ReflectReference {
241238

242239
/// The way to access the value of the reference, that is the pointed-to value.
243240
/// This method is safe to use as it ensures no-one else has aliasing access to the value at the same time.
244-
///
245-
/// # Panics
246-
/// - if the value is aliased and the access is not allowed
247241
#[track_caller]
248242
pub fn with_reflect_mut<O, F: FnOnce(&mut dyn PartialReflect) -> O>(
249243
&self,

0 commit comments

Comments
 (0)