Skip to content

Commit

Permalink
style: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bpetit committed Jul 20, 2022
1 parent e175c7d commit f0be7fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/exporters/stdout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use crate::exporters::*;
use crate::sensors::Sensor;
use colored::*;
use regex::Regex;
use std::fmt::Write as _;
use std::thread;
use std::time::{Duration, Instant};
use std::fmt::Write as _;

/// An Exporter that displays power consumption data of the host
/// and its processes on the standard output of the terminal.
Expand Down Expand Up @@ -212,7 +212,8 @@ impl StdoutExporter {
}
false
}) {
let _ = write!(to_print,
let _ = write!(
to_print,
"{} W\t",
current_domain
.metric_value
Expand Down

0 comments on commit f0be7fe

Please sign in to comment.