chore: format for 2024 edition

This commit is contained in:
Michael Aaron Murphy 2025-03-21 13:33:07 +01:00
parent 8cf372c9b9
commit 0aa518984e
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
57 changed files with 196 additions and 199 deletions

View file

@ -2,22 +2,22 @@
pub mod token;
use crate::{
Application, Element, Renderer,
app::iced_settings,
cctk::sctk,
iced::{
self,
self, Color, Length, Limits, Rectangle,
alignment::{Horizontal, Vertical},
widget::Container,
window, Color, Length, Limits, Rectangle,
window,
},
iced_widget,
theme::{self, system_dark, system_light, Button, THEME},
theme::{self, Button, THEME, system_dark, system_light},
widget::{
self,
autosize::{self, autosize, Autosize},
autosize::{self, Autosize, autosize},
layer_container,
},
Application, Element, Renderer,
};
pub use cosmic_panel_config;
use cosmic_panel_config::{CosmicPanelBackground, PanelAnchor, PanelSize};

View file

@ -2,8 +2,8 @@ use crate::iced;
use crate::iced_futures::futures;
use cctk::sctk::reexports::calloop;
use futures::{
channel::mpsc::{unbounded, UnboundedReceiver},
SinkExt, StreamExt,
channel::mpsc::{UnboundedReceiver, unbounded},
};
use iced::Subscription;
use iced_futures::stream;

View file

@ -21,7 +21,7 @@ use sctk::{
activation::{ActivationHandler, ActivationState},
registry::{ProvidesRegistryState, RegistryState},
};
use wayland_client::{globals::registry_queue_init, Connection, QueueHandle};
use wayland_client::{Connection, QueueHandle, globals::registry_queue_init};
struct AppData {
exit: bool,