bevy/crates/bevy_reflect/derive
Nicholas Nethercote 2d02f629b3
bevy_reflect: Remove unnecessary allow(unused_mut). (#19930)
# Objective

The generated `GetTypeRegistration::get_type_registration` method has an
unnecessary `allow(unused_mut)` attribute. It used to be necessary
because it was possible for `registration` to not be modified, but now
there is always at least one modification.

## Solution

Remove the attribute.

## Testing

I checked the `cargo expand` output.
2025-07-03 22:27:58 +00:00
..
src bevy_reflect: Remove unnecessary allow(unused_mut). (#19930) 2025-07-03 22:27:58 +00:00
Cargo.toml bevy_reflect: avoid duplicate type bounds in derived methods (#19876) 2025-06-30 23:29:26 +00:00
LICENSE-APACHE Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
LICENSE-MIT Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00