diff options
author | 2023-11-29 22:33:41 +0100 | |
---|---|---|
committer | 2023-11-29 22:33:41 +0100 | |
commit | 9b34b2ac19a8fdd424581d160bc702e096a2b46a (patch) | |
tree | 12ec3cd0a74c97dec4800fbb010dbc495027ebe2 | |
parent | abe13b530514c8ce63a0ef90172082258e35a43d (diff) | |
download | iced-9b34b2ac19a8fdd424581d160bc702e096a2b46a.tar.gz iced-9b34b2ac19a8fdd424581d160bc702e096a2b46a.tar.bz2 iced-9b34b2ac19a8fdd424581d160bc702e096a2b46a.zip |
Run `cargo fmt`
-rw-r--r-- | winit/src/multi_window/windows.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/winit/src/multi_window/windows.rs b/winit/src/multi_window/windows.rs index 1f606b31..6846abb3 100644 --- a/winit/src/multi_window/windows.rs +++ b/winit/src/multi_window/windows.rs @@ -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 { |