Skip to content

Commit 87eab71

Browse files
author
not-elm
committed
clippy
1 parent 1836ed4 commit 87eab71

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/bevy_flurx_api/src/log.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
//! Provides mechanism to output the logs.
22
3-
use bevy::app::Update;
43
use bevy::log;
5-
use bevy::prelude::{App, Event, EventReader, Plugin, Trigger};
4+
use bevy::prelude::{App, Event, Plugin, Trigger};
65
use bevy_flurx_ipc::ipc_trigger::IpcTriggerExt;
76
use serde::Deserialize;
87

crates/bevy_webview_wry/src/webview/load_webview.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ unsafe fn attach_inner_window(
258258
is_transparent: bool,
259259
application_window: &objc2_app_kit::NSWindow,
260260
webview: &wry::WryWebView,
261-
) {
261+
) { unsafe {
262262
use objc2_app_kit::NSAutoresizingMaskOptions;
263263

264264
webview.removeFromSuperview();
@@ -305,7 +305,7 @@ unsafe fn attach_inner_window(
305305
#[allow(deprecated)]
306306
NSApplication::activateIgnoringOtherApps(&app, true);
307307
}
308-
}
308+
}}
309309

310310
#[cfg(target_os = "macos")]
311311
fn resize_webview_inner_window(

0 commit comments

Comments
 (0)