refactor: qualify path slightly more consistently
This commit is contained in:
parent
9d0a6fdd07
commit
374cbd546d
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use iced::{
|
||||
Color, Element, Length, Renderer, Task, Theme, application, futures::SinkExt, stream::channel,
|
||||
theme, widget,
|
||||
Color, Element, Length, Renderer, Task, Theme, application, futures::SinkExt, stream, theme,
|
||||
widget,
|
||||
};
|
||||
use smol::Timer;
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ impl State {
|
|||
(
|
||||
Self::default(),
|
||||
Task::run(
|
||||
channel(1, async |mut sender| {
|
||||
stream::channel(1, async |mut sender| {
|
||||
let mut sys = sysinfo::System::new();
|
||||
let refreshes = sysinfo::RefreshKind::nothing()
|
||||
.with_cpu(sysinfo::CpuRefreshKind::nothing().with_cpu_usage());
|
||||
|
|
|
|||
Loading…
Reference in a new issue