Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 813c847

Browse files
committed
Fix wildcard_in_or_patterns warnings
Signed-off-by: Joseph Livesey <joseph.livesey@btp.works>
1 parent 2fbd985 commit 813c847

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

families/battleship/src/bin/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn main() {
4747
0 => LevelFilter::Warn,
4848
1 => LevelFilter::Info,
4949
2 => LevelFilter::Debug,
50-
3 | _ => LevelFilter::Trace,
50+
_ => LevelFilter::Trace,
5151
};
5252

5353
let stdout = ConsoleAppender::builder()

families/identity/sawtooth_identity/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn main() {
6868
0 => console_log_level = LevelFilter::Warn,
6969
1 => console_log_level = LevelFilter::Info,
7070
2 => console_log_level = LevelFilter::Debug,
71-
3 | _ => console_log_level = LevelFilter::Trace,
71+
_ => console_log_level = LevelFilter::Trace,
7272
}
7373

7474
let stdout = ConsoleAppender::builder()

0 commit comments

Comments
 (0)