Clippy fix

This commit is contained in:
phoenix
2025-10-10 14:38:46 -04:00
parent 101547dbf4
commit 50e77edddc
+1 -5
View File
@@ -28,11 +28,7 @@ pub fn init_delimiter(envvar: &mut EnvVar, delimiter: char) {
}
}
let has_delimiter = if amount_of_delimiters_found >= 1 {
true
} else {
false
};
let has_delimiter = amount_of_delimiters_found >= 1;
if has_delimiter {
envvar.has_delimiter = has_delimiter;