cargo fmt

This commit is contained in:
Robert Bragg
2022-08-12 19:19:45 +01:00
parent f22d8bbd30
commit 04c9060329
+4 -3
View File
@@ -272,9 +272,10 @@ impl AndroidAppInner {
// It's important that we use ::clone_from_ptr() here
// because NativeWindow has a Drop implementation that
// will unconditionally _release() the native window
*self.native_window.write().unwrap() = Some(
NativeWindow::clone_from_ptr(NonNull::new(win_ptr).unwrap()),
);
*self.native_window.write().unwrap() =
Some(NativeWindow::clone_from_ptr(
NonNull::new(win_ptr).unwrap(),
));
}
MainEvent::TerminateWindow { .. } => {
*self.native_window.write().unwrap() = None;