Skip to content

Commit

Permalink
Fix unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemadden42 committed Mar 1, 2020
1 parent 9e7835d commit e14e704
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/widgets/temp.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use num_rational::Ratio;
use psutil::sensors;
use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
Expand All @@ -8,6 +7,9 @@ use crate::colorscheme::Colorscheme;
use crate::update::UpdatableWidget;
use crate::widgets::block;

#[cfg(target_os = "linux")]
use psutil::sensors;

pub struct TempWidget<'a> {
title: String,
update_interval: Ratio<u64>,
Expand Down

0 comments on commit e14e704

Please sign in to comment.