Skip to content

Commit 439c0fb

Browse files
authored
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
1 parent 59ef105 commit 439c0fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_utils/src/default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/// }
1313
///
1414
/// // Normally you would initialize a struct with defaults using "struct update syntax"
15-
/// // combined with `Default::default()`. This example sets `Foo::bar` to 10 and the remaining
15+
/// // combined with `Default::default()`. This example sets `Foo::a` to 10 and the remaining
1616
/// // values to their defaults.
1717
/// let foo = Foo {
1818
/// a: 10,

0 commit comments

Comments
 (0)