fix(all): add missing #264
clippy (macOS)
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c3 2023-09-13)
Annotations
Check failure on line 5 in src/util/elevate.rs
github-actions / clippy (macOS)
function `reopen_as_elevated` is never used
error: function `reopen_as_elevated` is never used
--> src/util/elevate.rs:5:4
|
5 | fn reopen_as_elevated(args: String) {
| ^^^^^^^^^^^^^^^^^^
Check failure on line 15 in src/hotkeys.rs
github-actions / clippy (macOS)
function `start_hotkey_watcher` is never used
error: function `start_hotkey_watcher` is never used
--> src/hotkeys.rs:15:8
|
15 | pub fn start_hotkey_watcher(win: tauri::Window) {
| ^^^^^^^^^^^^^^^^^^^^
Check failure on line 103 in src/config.rs
github-actions / clippy (macOS)
function `get_ptt_keys` is never used
error: function `get_ptt_keys` is never used
--> src/config.rs:103:8
|
103 | pub fn get_ptt_keys() -> Vec<String> {
| ^^^^^^^^^^^^
Check failure on line 97 in src/config.rs
github-actions / clippy (macOS)
function `get_ptt` is never used
error: function `get_ptt` is never used
--> src/config.rs:97:8
|
97 | pub fn get_ptt() -> bool {
| ^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
Check failure on line 5 in src/util/elevate.rs
github-actions / clippy (macOS)
unused variable: `args`
error: unused variable: `args`
--> src/util/elevate.rs:5:23
|
5 | fn reopen_as_elevated(args: String) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
|
= note: `-D unused-variables` implied by `-D warnings`