Skip to content

Commit 4eb22d8

Browse files
committed
lint: lint fix
1 parent 1936683 commit 4eb22d8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • standalone/src-tauri/src

standalone/src-tauri/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ pub fn run() {
5050
dev_api::get_dev_api_status,
5151
dev_api::set_dev_api_enabled
5252
])
53-
.on_menu_event(|app, event| {
53+
.on_menu_event(|_app, _event| {
5454
// DevTools is only available in debug builds
5555
#[cfg(debug_assertions)]
56-
if event.id() == DEVTOOLS_MENU_ID {
57-
if let Some(window) = app.get_webview_window("main") {
56+
if _event.id() == DEVTOOLS_MENU_ID {
57+
if let Some(window) = _app.get_webview_window("main") {
5858
window.open_devtools();
5959
}
6060
}

0 commit comments

Comments
 (0)