Skip to content

Commit

Permalink
bevy_reflect: Add ReflectFromReflect to the prelude (#8496)
Browse files Browse the repository at this point in the history
# Objective

Considering that `FromReflect` is a very common trait to derive, it
would make sense to include `ReflectFromReflect` in the `bevy_reflect`
prelude so users don't need to import it separately.

## Solution

Add `ReflectFromReflect` to the prelude.
  • Loading branch information
MrGVSV authored Apr 26, 2023
1 parent 6df65a2 commit 74d4252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_reflect/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ pub mod prelude {
#[doc(hidden)]
pub use crate::{
reflect_trait, FromReflect, GetField, GetTupleStructField, Reflect, ReflectDeserialize,
ReflectSerialize, Struct, TupleStruct,
ReflectFromReflect, ReflectSerialize, Struct, TupleStruct,
};
}

Expand Down

0 comments on commit 74d4252

Please sign in to comment.