Skip to content

Commit

Permalink
Update crates/bevy_reflect/bevy_reflect_derive/src/reflect_trait.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <[email protected]>
  • Loading branch information
MrGVSV and alice-i-cecile committed May 13, 2022
1 parent 80c3ddd commit 8793522
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Trait Name>`. 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);
Expand Down

0 comments on commit 8793522

Please sign in to comment.