Simplified two printlns picked out by clippy
This commit is contained in:
parent
0e2a782463
commit
d2a522f423
1 changed files with 2 additions and 2 deletions
|
@ -2067,9 +2067,9 @@ impl<'test> TestCx<'test> {
|
||||||
|
|
||||||
fn maybe_dump_to_stdout(&self, out: &str, err: &str) {
|
fn maybe_dump_to_stdout(&self, out: &str, err: &str) {
|
||||||
if self.config.verbose {
|
if self.config.verbose {
|
||||||
println!("------{}------------------------------", "stdout");
|
println!("------stdout------------------------------");
|
||||||
println!("{}", out);
|
println!("{}", out);
|
||||||
println!("------{}------------------------------", "stderr");
|
println!("------stderr------------------------------");
|
||||||
println!("{}", err);
|
println!("{}", err);
|
||||||
println!("------------------------------------------");
|
println!("------------------------------------------");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue