Skip to content

Commit

Permalink
Apply suggestions from code review
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 authored Aug 31, 2022
1 parent 5809a1b commit 3e09a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_reflect/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ 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.
/// 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.
///
Expand Down
2 changes: 1 addition & 1 deletion examples/reflection/generic_reflection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T: Reflectable> {
Expand Down

0 comments on commit 3e09a4e

Please sign in to comment.