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::{
|
use iced::{
|
||||||
Color, Element, Length, Renderer, Task, Theme, application, futures::SinkExt, stream::channel,
|
Color, Element, Length, Renderer, Task, Theme, application, futures::SinkExt, stream, theme,
|
||||||
theme, widget,
|
widget,
|
||||||
};
|
};
|
||||||
use smol::Timer;
|
use smol::Timer;
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@ impl State {
|
||||||
(
|
(
|
||||||
Self::default(),
|
Self::default(),
|
||||||
Task::run(
|
Task::run(
|
||||||
channel(1, async |mut sender| {
|
stream::channel(1, async |mut sender| {
|
||||||
let mut sys = sysinfo::System::new();
|
let mut sys = sysinfo::System::new();
|
||||||
let refreshes = sysinfo::RefreshKind::nothing()
|
let refreshes = sysinfo::RefreshKind::nothing()
|
||||||
.with_cpu(sysinfo::CpuRefreshKind::nothing().with_cpu_usage());
|
.with_cpu(sysinfo::CpuRefreshKind::nothing().with_cpu_usage());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue