Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

Commit 5de8d0a

Browse files
committed
fix(motd): remove unreachable statement in Motd::summary
1 parent bb83e97 commit 5de8d0a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/motd.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ impl Motd {
8989
1_000_000..=999_999_999 => format!("{0:.1}M", source as f32 / 1_000_000.0),
9090
1_000_000_000..=999_999_999_999 => format!("{0:.1}G", source as f32 / 1_000_000_000.0),
9191
1_000_000_000_000..=u64::MAX => format!("{0:.1}T", source as f32 / 1_000_000_000_000.0),
92-
_ => unreachable!("Packets counter has an impossible value")
9392
}
9493
}
9594

0 commit comments

Comments
 (0)