Skip to content

Commit 176da15

Browse files
authored
Allow dead code to avoid warning
1 parent af0998b commit 176da15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/flow_control/match/guard.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
A `match` *guard* can be added to filter the arm.
44

55
```rust,editable
6+
#[allow(dead_code)]
67
enum Temperature {
78
Celsius(i32),
89
Fahrenheit(i32),

0 commit comments

Comments
 (0)