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

Commit f606323

Browse files
authored
Merge pull request #49 from tox-rs/motd_summary
Remove unreachable statement in Motd::summary
2 parents bb83e97 + df37654 commit f606323

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ os:
33
- linux
44
- osx
55
rust:
6-
- 1.31.0
6+
- 1.33.0
77
- stable
88
- beta
99
- nightly

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A server application to run tox bootstrap node.
44

55
## Building and running
66

7-
You'll need [Rust] >= 1.31.0.
7+
You'll need [Rust] >= 1.33.0.
88

99
Build with:
1010

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)