From 439c0fb973a73d454b6dfe1218c3db108af33b0c Mon Sep 17 00:00:00 2001 From: Coty Date: Thu, 29 May 2025 20:12:55 +0100 Subject: [PATCH] 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 --- crates/bevy_utils/src/default.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_utils/src/default.rs b/crates/bevy_utils/src/default.rs index 5b4b9fbdf9..0ca45d544d 100644 --- a/crates/bevy_utils/src/default.rs +++ b/crates/bevy_utils/src/default.rs @@ -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,