fix reference in example usage comments (#19434)
# Objective - Fix a reference in the example usage comments of bevy_utils Default::default ## Solution - Just a word change in the comments ## Testing - No actual code changes to test
This commit is contained in:
parent
59ef10562a
commit
439c0fb973
@ -12,7 +12,7 @@
|
||||
/// }
|
||||
///
|
||||
/// // Normally you would initialize a struct with defaults using "struct update syntax"
|
||||
/// // combined with `Default::default()`. This example sets `Foo::bar` to 10 and the remaining
|
||||
/// // combined with `Default::default()`. This example sets `Foo::a` to 10 and the remaining
|
||||
/// // values to their defaults.
|
||||
/// let foo = Foo {
|
||||
/// a: 10,
|
||||
|
Loading…
Reference in New Issue
Block a user