Skip to content

Commit

Permalink
Add backticks
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Papale <nicopap@users.noreply.github.com>
  • Loading branch information
A-Walrus and nicopap authored Sep 10, 2023
1 parent b9cdeff commit 34a2c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scene/scene.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn main() {
// `Reflect` enable a bunch of cool behaviors, so its worth checking out the dedicated `reflect.rs`
// example. The `FromWorld` trait determines how your component is constructed when it loads.
// For simple use cases you can just implement the `Default` trait (which automatically implements
// FromWorld). The simplest registered component just needs these two derives:
// `FromWorld`). The simplest registered component just needs these two derives:
#[derive(Component, Reflect, Default)]
#[reflect(Component)] // this tells the reflect derive to also reflect component behaviors
struct ComponentA {
Expand Down

0 comments on commit 34a2c74

Please sign in to comment.