Adds post-settings-close behavior setting #4803
ci.yml
on: pull_request
Detect Changes
6s
Typecheck
1m 15s
Format (Biome)
7s
Format (Cargo)
13s
Lint (Biome)
12s
Verify Tauri plugin versions
0s
Matrix: Build Desktop
Matrix: Clippy
Matrix: Rust cache
Annotations
3 errors and 1 warning
|
Format (Cargo)
Process completed with exit code 1.
|
|
Clippy (aarch64-apple-darwin, macos-latest)
Clippy had exited with the 101 exit code
|
|
this `if` statement can be collapsed:
apps/desktop/src-tauri/src/lib.rs#L2697
error: this `if` statement can be collapsed
--> apps/desktop/src-tauri/src/lib.rs:2697:37
|
2697 | / ... if let Ok(id) = CapWindowId::from_str(&label)
2698 | | ... && matches!(
2699 | | ... id,
2700 | | ... CapWindowId::TargetSelectOverlay { .. }
... |
2708 | | ... }
| |_______________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#collapsible_if
= note: requested on the command line with `-D clippy::collapsible-if`
help: collapse nested if block
|
2703 ~ )
2704 ~ && should_open_main {
2705 | let _ = window.show();
2706 ~ }
|
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
apps/desktop/src-tauri/src/lib.rs#L2686
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> apps/desktop/src-tauri/src/lib.rs:2686:74
|
2686 | ... let settings = GeneralSettingsStore::get(&app)
| ^^^^ help: change this to: `app`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|