We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 269c626 commit 453ce68Copy full SHA for 453ce68
src/main.rs
@@ -89,13 +89,18 @@ fn main() -> ah::Result<()> {
89
for round in args.start_round..args.rounds {
90
if args.rounds > 1 {
91
let tod = Local::now().format("%F %R");
92
+ let end = if args.rounds == u64::MAX {
93
+ "inf]".to_string()
94
+ } else {
95
+ format!("{})", args.rounds)
96
+ };
97
println!(
- "{}[{}] Round {} in range [{}, {}) ...",
98
+ "{}[{}] Round {} in range [{}, {} ...",
99
if round > args.start_round { "\n" } else { "" },
100
tod,
101
round,
102
args.start_round,
- args.rounds
103
+ end,
104
);
105
}
106
0 commit comments