Skip to content

Commit feea898

Browse files
committed
clippy::perf fixes
1 parent 56f6e08 commit feea898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/formatters/junit.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ impl<T: Write> OutputFormatter for JunitFormatter<T> {
5555
_stdout: &[u8],
5656
_state: &ConsoleTestState,
5757
) -> io::Result<()> {
58-
// Because the testsuit node holds some of the information as attributes, we can't write it
59-
// until all of the tests has ran. Instead of writting every result as they come in, we add
58+
// Because the testsuite node holds some of the information as attributes, we can't write it
59+
// until all of the tests have finished. Instead of writing every result as they come in, we add
6060
// them to a Vec and write them all at once when run is complete.
6161
let duration = exec_time.map(|t| t.0).unwrap_or_default();
6262
self.results.push((desc.clone(), result.clone(), duration));

0 commit comments

Comments
 (0)