apply clippy lints

This commit is contained in:
raf 2024-08-03 23:04:26 +03:00
commit 42a7f2fc77
Signed by: NotAShelf
GPG key ID: AF26552424E53993
5 changed files with 16 additions and 19 deletions

View file

@ -9,5 +9,5 @@ pub fn get_desktop_info() -> Result<String, io::Error> {
// instead of just "foo"
let desktop_env = desktop_env.trim_start_matches("none+");
Ok(format!("{} ({})", desktop_env, display_backend))
Ok(format!("{desktop_env} ({display_backend})"))
}