Clippy fixes (#309)

* Automatic clippy fixes

* Manual clippy corrections
This commit is contained in:
Philip Kristoffersen
2023-01-04 20:28:43 +01:00
committed by GitHub
parent f1591b7818
commit 4ed9490c57
21 changed files with 42 additions and 46 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ pub fn run_ui(args: Vec<String>) {
);
}
fn is_fullscreen(args: &Vec<String>) -> bool {
fn is_fullscreen(args: &[String]) -> bool {
let is_steam_mode = match std::env::var("SteamAppId") {
Ok(value) => !value.is_empty(),
Err(_) => false,