mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-24 21:27:28 +03:00
fix: fix new clippy errors (#10054)
* fix: fix new clippy errors * more clippy
This commit is contained in:
parent
cee0bfcd6c
commit
6c9e24a683
@ -2,8 +2,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![cfg(desktop)]
|
||||
|
||||
//! Menu types and utilities.
|
||||
|
||||
mod builders;
|
||||
|
@ -2,8 +2,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![cfg(all(desktop, feature = "tray-icon"))]
|
||||
|
||||
//! Tray icon types and utilities.
|
||||
|
||||
pub(crate) mod plugin;
|
||||
|
@ -2,7 +2,6 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#![cfg(windows)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(clippy::upper_case_acronyms)]
|
||||
|
@ -18,6 +18,7 @@ pub struct DirOpts {
|
||||
pub struct FileOpts {
|
||||
pub overwrite: bool,
|
||||
pub skip: bool,
|
||||
#[allow(dead_code)]
|
||||
pub buffer_size: usize,
|
||||
}
|
||||
|
||||
|
@ -43,6 +43,7 @@ impl Settings {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg_attr(not(windows), allow(dead_code))]
|
||||
pub struct SignParams {
|
||||
pub product_name: String,
|
||||
pub digest_algorithm: String,
|
||||
|
Loading…
Reference in New Issue
Block a user