Use default if previous values do not exist
This commit is contained in:
parent
96b349dcbb
commit
cc68ecdacf
|
@ -101,9 +101,9 @@ fn main() {
|
|||
"{}, {:#10?}, {:#10?}, {:#10?}, {:#10?}",
|
||||
entry,
|
||||
values.0,
|
||||
values.2.parse::<i32>().unwrap(),
|
||||
values.2.parse::<i32>().unwrap_or_default(),
|
||||
values.1,
|
||||
values.3.parse::<i32>().unwrap(),
|
||||
values.3.parse::<i32>().unwrap_or_default(),
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue