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:
commit
74bc250986
@ -1,5 +1,4 @@
|
|||||||
use num_rational::Ratio;
|
use num_rational::Ratio;
|
||||||
use psutil::sensors;
|
|
||||||
use tui::buffer::Buffer;
|
use tui::buffer::Buffer;
|
||||||
use tui::layout::Rect;
|
use tui::layout::Rect;
|
||||||
use tui::widgets::Widget;
|
use tui::widgets::Widget;
|
||||||
@ -8,6 +7,9 @@ use crate::colorscheme::Colorscheme;
|
|||||||
use crate::update::UpdatableWidget;
|
use crate::update::UpdatableWidget;
|
||||||
use crate::widgets::block;
|
use crate::widgets::block;
|
||||||
|
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
use psutil::sensors;
|
||||||
|
|
||||||
pub struct TempWidget<'a> {
|
pub struct TempWidget<'a> {
|
||||||
title: String,
|
title: String,
|
||||||
update_interval: Ratio<u64>,
|
update_interval: Ratio<u64>,
|
||||||
|
Loading…
Reference in New Issue
Block a user