clippy fix

This commit is contained in:
2026-09-17 12:38:12 +01:00
parent cf7683ebfd
commit 9e37d0662a
4 changed files with 5 additions and 7 deletions
+3 -3
View File
@@ -5,12 +5,12 @@
//! then opens the popup there; the active module renders its content.
use iced::advanced::widget as advanced_widget;
use iced::widget::{column, container, mouse_area, text};
use iced::{Alignment, Border, Element, Length, Padding, Rectangle, Task};
use iced::widget::{column, container, text};
use iced::{Border, Element, Padding, Rectangle, Task};
use iced_layershell::actions::IcedNewPopupSettings;
use iced_layershell::reexport::{PopupAnchor, PopupGravity};
use common::{pill, ModuleEffect, PopupSettings};
use common::{ModuleEffect, PopupSettings};
use crate::msg::popup_open;
use crate::{Bar, Message, Msg};
+1 -2
View File
@@ -1,5 +1,4 @@
use common::Wire;
use iced::widget::{container, row, space, text};
use iced::widget::{container, row, space};
use iced::{window, Alignment, Element, Length, Theme};
use crate::app::Bar;
-1
View File
@@ -5,7 +5,6 @@
//! The ticker knows nothing about the app's `Message` type; it produces
//! protocol wires from `common` that core routes to subscribers.
use std::collections::HashMap;
use chrono::{DateTime, Local, Timelike};
use iced::futures::{channel::mpsc, SinkExt};
+1 -1
View File
@@ -29,7 +29,7 @@ impl WeatherService {
let mut _rx = inbox.take().expect("cant take");
iced::stream::channel(0, move |mut sender: mpsc::Sender<Wire>| async move {
let mut weather = WeatherService::new();
let weather = WeatherService::new();
let mut interval = interval(Duration::from_mins(30));
tracing::info!(key = key, "weather service started");
loop {