chore: apply recommendations from clippy
This commit is contained in:
parent
cec55dafd7
commit
8e0f1c4a09
56 changed files with 720 additions and 824 deletions
|
|
@ -11,7 +11,7 @@ fn main() -> cosmic::iced::Result {
|
|||
return Ok(());
|
||||
};
|
||||
|
||||
let start = applet.rfind('/').map(|v| v + 1).unwrap_or(0);
|
||||
let start = applet.rfind('/').map_or(0, |v| v + 1);
|
||||
let cmd = &applet.as_str()[start..];
|
||||
|
||||
tracing::info!("Starting `{cmd}` with version {VERSION}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue