We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo fmt
1 parent abe13b5 commit 9b34b2aCopy full SHA for 9b34b2a
winit/src/multi_window/windows.rs
@@ -176,11 +176,12 @@ where
176
177
/// Returns the windows that need to be requested to closed, and also the windows that can be
178
/// closed immediately.
179
- pub fn partition_close_requests(&self) -> (Vec<window::Id>, Vec<window::Id>) {
+ pub fn partition_close_requests(
180
+ &self,
181
+ ) -> (Vec<window::Id>, Vec<window::Id>) {
182
self.exit_on_close_requested.iter().enumerate().fold(
183
(vec![], vec![]),
- |(mut close_immediately, mut needs_request_closed),
- (i, close)| {
184
+ |(mut close_immediately, mut needs_request_closed), (i, close)| {
185
let id = self.ids[i];
186
187
if *close {
0 commit comments