1
0
mirror of https://github.com/danog/ytop.git synced 2024-11-26 20:15:03 +01:00

Merge pull request #44 from mikemadden42/fix-unused-imports

Fix unused imports
This commit is contained in:
Caleb Bassi 2020-02-29 18:24:50 -08:00 committed by GitHub
commit 74bc250986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,4 @@
use num_rational::Ratio;
use psutil::sensors;
use tui::buffer::Buffer;
use tui::layout::Rect;
use tui::widgets::Widget;
@ -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>,