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 2930240 commit 69fe03bCopy full SHA for 69fe03b
src/cli/submit.rs
@@ -10,6 +10,7 @@ use signal_hook::consts::{SIGINT, SIGTERM};
10
use signal_hook::flag;
11
use std::collections::HashSet;
12
use std::error::Error;
13
+use std::fmt::Write as _;
14
use std::io::prelude::*;
15
use std::io::{self, IsTerminal};
16
use std::path::PathBuf;
@@ -265,7 +266,11 @@ pub fn submit<W: Write>(
265
266
.italic()
267
.to_string();
268
}
- message += &format!(" ({:#}).", style(HumanDuration(instant.elapsed())).dim());
269
+ let _ = write!(
270
+ message,
271
+ " ({:#}).",
272
+ style(HumanDuration(instant.elapsed())).dim()
273
+ );
274
println!("{message}");
275
276
let result = scheduler.submit(
0 commit comments