From 4f1628529fbf896971663d3ddc78366dc2024d02 Mon Sep 17 00:00:00 2001 From: "rust-lang.xfoss.com" Date: Tue, 19 Dec 2023 15:28:38 +0800 Subject: [PATCH] Refined Ch06. --- src/enums_and_pattern_matching/if-let_control_flow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enums_and_pattern_matching/if-let_control_flow.md b/src/enums_and_pattern_matching/if-let_control_flow.md index 1198e00..b7fa736 100644 --- a/src/enums_and_pattern_matching/if-let_control_flow.md +++ b/src/enums_and_pattern_matching/if-let_control_flow.md @@ -11,7 +11,7 @@ match config_max { Some(max) => println! ("The maximum is configured to be {}", max), - _ => (); + _ => () } ```