changed total event count from iterator.count to count up

This commit is contained in:
DastInDark
2022-09-05 00:39:15 +09:00
parent 8f42f46c23
commit 3ee5e9e900

View File

@@ -569,8 +569,6 @@ impl App {
let mut tl = Timeline::new();
let mut parser = parser.unwrap();
record_cnt += &parser.records_json_value().count();
let mut records = parser.records_json_value();
loop {
@@ -581,6 +579,7 @@ impl App {
if next_rec.is_none() {
break;
}
record_cnt += 1;
let record_result = next_rec.unwrap();
if record_result.is_err() {