chore: update to Rust 2024 edition

This commit is contained in:
Vukašin Vojinović 2025-08-12 21:38:51 +02:00 • committed by Michael Murphy
parent c3fafd3910
commit 2b7b4cba56
71 changed files with 254 additions and 292 deletions

View file

@ -10,7 +10,7 @@ use std::borrow::Cow;
use crate::localize::localize;
use cosmic::{
app,
Task, app,
applet::cosmic_panel_config::PanelAnchor,
cctk::{
sctk::reexports::calloop, toplevel_info::ToplevelInfo,
@ -18,21 +18,19 @@ use cosmic::{
},
desktop::fde,
iced::{
self,
self, Length, Limits, Subscription,
id::Id as WidgetId,
platform_specific::shell::wayland::commands::popup::{destroy_popup, get_popup},
widget::text,
window::{self},
Length, Limits, Subscription,
},
surface,
widget::{autosize::autosize, mouse_area},
Task,
};
use cosmic::iced_widget::{Column, Row};
use cosmic::{widget::tooltip, Element};
use cosmic::{Element, widget::tooltip};
use std::sync::LazyLock;
use wayland_subscription::{
ToplevelRequest, ToplevelUpdate, WaylandImage, WaylandRequest, WaylandUpdate,