From 176da15daf33f540d7b4974a300d60263dd26ce6 Mon Sep 17 00:00:00 2001 From: Bi0T1N <28802083+Bi0T1N@users.noreply.github.com> Date: Sat, 11 Mar 2023 23:09:04 +0100 Subject: [PATCH] Allow dead code to avoid warning --- src/flow_control/match/guard.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flow_control/match/guard.md b/src/flow_control/match/guard.md index 63008a7431..af81f64c99 100644 --- a/src/flow_control/match/guard.md +++ b/src/flow_control/match/guard.md @@ -3,6 +3,7 @@ A `match` *guard* can be added to filter the arm. ```rust,editable +#[allow(dead_code)] enum Temperature { Celsius(i32), Fahrenheit(i32),