From 8793522e58109b4958f9914bc0167bd958a6b0c0 Mon Sep 17 00:00:00 2001 From: MrGVSV <49806985+MrGVSV@users.noreply.github.com> Date: Sat, 5 Mar 2022 17:47:45 -0800 Subject: [PATCH] Update crates/bevy_reflect/bevy_reflect_derive/src/reflect_trait.rs Co-authored-by: Alice Cecile --- crates/bevy_reflect/bevy_reflect_derive/src/trait_reflection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_reflect/bevy_reflect_derive/src/trait_reflection.rs b/crates/bevy_reflect/bevy_reflect_derive/src/trait_reflection.rs index 5372f79971581..7d16bfb01c85a 100644 --- a/crates/bevy_reflect/bevy_reflect_derive/src/trait_reflection.rs +++ b/crates/bevy_reflect/bevy_reflect_derive/src/trait_reflection.rs @@ -23,7 +23,7 @@ impl Parse for TraitInfo { /// A trait attribute macro that allows a reflected type to be downcast to a trait object. /// -/// This generates a struct that takes the form `Reflect`. An instance of this struct can then be +/// This generates a struct that takes the form `ReflectMyTrait`. An instance of this struct can then be /// used to perform the conversion. pub(crate) fn reflect_trait(_args: &TokenStream, input: TokenStream) -> TokenStream { let trait_info = parse_macro_input!(input as TraitInfo);