Skip to content

Commit 9b34b2a

Browse files
committed
Run cargo fmt
1 parent abe13b5 commit 9b34b2a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

winit/src/multi_window/windows.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,12 @@ where
176176

177177
/// Returns the windows that need to be requested to closed, and also the windows that can be
178178
/// closed immediately.
179-
pub fn partition_close_requests(&self) -> (Vec<window::Id>, Vec<window::Id>) {
179+
pub fn partition_close_requests(
180+
&self,
181+
) -> (Vec<window::Id>, Vec<window::Id>) {
180182
self.exit_on_close_requested.iter().enumerate().fold(
181183
(vec![], vec![]),
182-
|(mut close_immediately, mut needs_request_closed),
183-
(i, close)| {
184+
|(mut close_immediately, mut needs_request_closed), (i, close)| {
184185
let id = self.ids[i];
185186

186187
if *close {

0 commit comments

Comments
 (0)