Commit 1eaa7941 authored by AdminXVII's avatar AdminXVII

Remove Display implementation for JobResult

parent d0fe7b44
......@@ -3,7 +3,6 @@ use crossbeam_channel::{Receiver, Sender};
use ion_shell::Shell;
use log::{debug, error, info, trace, warn};
use simplelog::*;
use std::fmt;
use std::fs::File;
use std::path::PathBuf;
use std::sync::Arc;
......@@ -73,16 +72,6 @@ struct JobResult {
cmd: String,
}
impl fmt::Display for JobResult {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(
f,
"'{}', took {}s and exited with code {}",
self.cmd, self.duration, self.exit_code
)
}
}
fn create_logger(opts: &Opts) {
let level = match (opts.quiet, opts.verbose) {
(true, _) => LevelFilter::Error,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment