Run cargo fmt

This commit is contained in:
Héctor Ramón Jiménez 2025-02-21 01:22:56 +01:00
parent 28caeccf22
commit 9ceb467e6e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
59 changed files with 100 additions and 98 deletions

View file

@ -20,9 +20,9 @@ use crate::futures::futures::{Future, StreamExt};
use crate::futures::subscription::{self, Subscription};
use crate::futures::{Executor, Runtime};
use crate::graphics;
use crate::graphics::{compositor, Compositor};
use crate::runtime::user_interface::{self, UserInterface};
use crate::graphics::{Compositor, compositor};
use crate::runtime::Debug;
use crate::runtime::user_interface::{self, UserInterface};
use crate::runtime::{self, Action, Task};
use crate::{Clipboard, Error, Proxy, Settings};
@ -406,7 +406,9 @@ where
.with_canvas(self.canvas.take())
};
log::info!("Window attributes for id `{id:#?}`: {window_attributes:#?}");
log::info!(
"Window attributes for id `{id:#?}`: {window_attributes:#?}"
);
// On macOS, the `position` in `WindowAttributes` represents the "inner"
// position of the window; while on other platforms it's the "outer" position.

View file

@ -1,6 +1,6 @@
use crate::conversion;
use crate::core::{mouse, theme, window};
use crate::core::{Color, Size};
use crate::core::{mouse, theme, window};
use crate::graphics::Viewport;
use crate::program::Program;

View file

@ -1,8 +1,8 @@
use crate::futures::futures::{
Future, Sink, StreamExt,
channel::mpsc,
select,
task::{Context, Poll},
Future, Sink, StreamExt,
};
use crate::runtime::Action;
use std::pin::Pin;