From 2ce24ce09afbd20813dc402e4707ce7a7c844642 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Mon, 29 Aug 2022 12:32:53 -0500 Subject: [PATCH] Add missing line to use_field_init_shorthand "true" example The last declaration (`let b = ...`) is where all the difference between the "false" and "true" cases lies, but it was omitted from the "true" example for unknown reasons. Assuming it was by accident, this patch adds the last line from the "false" example to the "true" example, formatted as it would have been with `use_field_init_shorthand = true`. --- Configurations.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Configurations.md b/Configurations.md index e066553dc63..1773065ba0a 100644 --- a/Configurations.md +++ b/Configurations.md @@ -2777,6 +2777,7 @@ fn main() { let y = 2; let z = 3; let a = Foo { x, y, z }; + let b = Foo { x, y, z }; } ```