We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd9f641 commit baad5c6Copy full SHA for baad5c6
src/main.rs
@@ -91,6 +91,8 @@ fn main() {
91
let dir = args.input;
92
let start = Instant::now();
93
let (files, errors) = parse_files(dir);
94
+ let num_errors = errors.len();
95
+ drop(errors);
96
let end = Instant::now();
97
let duration: std::time::Duration = end.duration_since(start);
98
let memory = get_memory();
@@ -99,7 +101,7 @@ fn main() {
99
101
files.len(),
100
102
duration.as_secs(),
103
duration.subsec_millis(),
- errors.len(),
104
+ num_errors,
105
memory / 1024 / 1024
106
);
107
}
0 commit comments