Run cargo fmt

This commit is contained in:
Héctor Ramón Jiménez 2023-11-29 22:33:41 +01:00
parent abe13b5305
commit 9b34b2ac19
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -176,11 +176,12 @@ where
/// Returns the windows that need to be requested to closed, and also the windows that can be
/// closed immediately.
pub fn partition_close_requests(&self) -> (Vec<window::Id>, Vec<window::Id>) {
pub fn partition_close_requests(
&self,
) -> (Vec<window::Id>, Vec<window::Id>) {
self.exit_on_close_requested.iter().enumerate().fold(
(vec![], vec![]),
|(mut close_immediately, mut needs_request_closed),
(i, close)| {
|(mut close_immediately, mut needs_request_closed), (i, close)| {
let id = self.ids[i];
if *close {