bevy/crates/bevy_reflect/src/impls
Gino Valente 7da97b4dee bevy_reflect: Remove unnecessary Clone bounds (#5783)
# Objective

Some of the reflection impls for container types had unnecessary `Clone` bounds on their generic arguments. These come from before `FromReflect` when types were instead bound by `Reflect + Clone`. With `FromReflect` this is no longer necessary.

## Solution

Removed all leftover `Clone` bounds from types that use `FromReflect` instead.

## Note

I skipped `Result<T, E>`, `HashSet<T>`, and `Range<T>` since those do not use `FromReflect`. This should probably be handled in a separate PR since it would be a breaking change.

---

## Changelog

- Remove unnecessary `Clone` bounds on reflected containers
2022-08-24 21:21:11 +00:00
..
glam.rs implement reflection for more glam types (#5194) 2022-07-05 13:38:47 +00:00
smallvec.rs bevy_reflect: Remove unnecessary Clone bounds (#5783) 2022-08-24 21:21:11 +00:00
std.rs bevy_reflect: Remove unnecessary Clone bounds (#5783) 2022-08-24 21:21:11 +00:00