From 94814c3d59a5ffdd1b5aaa523407db5075875ee3 Mon Sep 17 00:00:00 2001 From: Gino Valente <49806985+MrGVSV@users.noreply.github.com> Date: Tue, 30 Aug 2022 21:15:00 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alice Cecile --- crates/bevy_reflect/src/lib.rs | 6 +++--- examples/reflection/generic_reflection.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/bevy_reflect/src/lib.rs b/crates/bevy_reflect/src/lib.rs index 0782e0f7389f72..0fc628c8af459a 100644 --- a/crates/bevy_reflect/src/lib.rs +++ b/crates/bevy_reflect/src/lib.rs @@ -57,9 +57,9 @@ pub use type_uuid::*; /// A catch-all trait bound by the core reflection traits for easy reflection-based trait bounds. /// -/// > __Note:__ You do _not_ need to implement this trait manually. -/// > It is automatically implemented for all types that implement its supertraits. -/// > And these supertraits are all automatically derived with the [`Reflect`](bevy_reflect_derive::Reflect) derive. +/// You do _not_ need to implement this trait manually. +/// It is automatically implemented for all types that implement its supertraits. +/// And these supertraits are all automatically derived with the [`Reflect`](bevy_reflect_derive::Reflect) derive. /// /// This should namely be used to bound generic arguments to the necessary traits for reflection. /// Doing this has the added benefit of reducing migration costs, as a change to the required traits diff --git a/examples/reflection/generic_reflection.rs b/examples/reflection/generic_reflection.rs index c54fc60889fd10..ca978bf9490eb3 100644 --- a/examples/reflection/generic_reflection.rs +++ b/examples/reflection/generic_reflection.rs @@ -17,7 +17,7 @@ fn main() { /// Until the reflection API stabilizes, these trait bounds are liable to change. While we currently /// only require [`Reflect`] right now, we may eventually require others. /// -/// So rather than adding each trait to our generic arguments manually (and having to update them +/// Rather than adding each trait to our generic arguments manually (and having to update them /// if the requirements ever change), we can simply use the catch-all trait, [`Reflectable`]. #[derive(Reflect)] struct MyType {