about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorNicholas-Baron <nicholas.baron.ten@gmail.com>2021-10-09 12:12:13 -0700
committerNicholas-Baron <nicholas.baron.ten@gmail.com>2021-10-09 12:18:01 -0700
commitd2a522f4232c155bca29befc8c2800e906563c2a (patch)
treee1a792e5f84cb6e1179592cc04a0e93aad43ed2e /src/tools/compiletest
parent0e2a782463a3ec667e1a137d3743e46549538072 (diff)
downloadrust-d2a522f4232c155bca29befc8c2800e906563c2a.tar.gz
rust-d2a522f4232c155bca29befc8c2800e906563c2a.zip
Simplified two printlns picked out by clippy
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/runtest.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 46799bc4c15..7e29b980ae1 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -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!("------------------------------------------");
         }