chore: upgrade to rust 1.58 (#13377)

This commit is contained in:
David Sherret 2022-01-15 01:10:12 -05:00 committed by GitHub
parent 903cb48fe9
commit ad224f53c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 29 additions and 46 deletions

View file

@ -267,11 +267,7 @@ impl PrettyTestReporter {
print!("{}", " ".repeat(description.level));
}
println!(
"{} {}",
status,
colors::gray(human_elapsed(elapsed.into())).to_string()
);
println!("{} {}", status, colors::gray(human_elapsed(elapsed.into())));
if let Some(error_text) = result.error() {
for line in error_text.lines() {
@ -357,11 +353,7 @@ impl TestReporter for PrettyTestReporter {
print!(" ");
}
println!(
"{} {}",
status,
colors::gray(human_elapsed(elapsed.into())).to_string()
);
println!("{} {}", status, colors::gray(human_elapsed(elapsed.into())));
}
fn report_step_wait(&mut self, description: &TestStepDescription) {