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

@ -34,7 +34,7 @@ pub fn get_system_info() -> Result<String, io::Error> {
let architecture = get_architecture()?;
let result = format!("{} {} ({})", system, kernel_release, architecture);
let result = format!("{system} {kernel_release} ({architecture})");
Ok(result)
}