Skip to content

Commit d2a522f

Browse files
Simplified two printlns picked out by clippy
1 parent 0e2a782 commit d2a522f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,9 +2067,9 @@ impl<'test> TestCx<'test> {
20672067

20682068
fn maybe_dump_to_stdout(&self, out: &str, err: &str) {
20692069
if self.config.verbose {
2070-
println!("------{}------------------------------", "stdout");
2070+
println!("------stdout------------------------------");
20712071
println!("{}", out);
2072-
println!("------{}------------------------------", "stderr");
2072+
println!("------stderr------------------------------");
20732073
println!("{}", err);
20742074
println!("------------------------------------------");
20752075
}

0 commit comments

Comments
 (0)