Skip to content

Commit

Permalink
Simplified two printlns picked out by clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas-Baron committed Oct 9, 2021
1 parent 0e2a782 commit d2a522f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/compiletest/src/runtest.rs
Expand Up @@ -2067,9 +2067,9 @@ impl<'test> TestCx<'test> {

fn maybe_dump_to_stdout(&self, out: &str, err: &str) {
if self.config.verbose {
println!("------{}------------------------------", "stdout");
println!("------stdout------------------------------");
println!("{}", out);
println!("------{}------------------------------", "stderr");
println!("------stderr------------------------------");
println!("{}", err);
println!("------------------------------------------");
}
Expand Down

0 comments on commit d2a522f

Please sign in to comment.