This commit is contained in:
n4n5
2024-12-30 10:12:37 +01:00
committed by andy.boot
parent bfe7323b20
commit 2e56a261e0

View File

@@ -231,7 +231,7 @@ fn convert_min_size(input: &str) -> Option<usize> {
match number_format {
Some((multiple, _)) => Some(parsed_digits * (multiple as usize)),
None => {
if letters.eq("") {
if letters.is_empty() {
Some(parsed_digits)
} else {
eprintln!("Ignoring invalid min-size: {input}");