about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2019-04-17 12:02:04 +0300
committerAlexey Shmalko <rasen.dubi@gmail.com>2019-04-17 12:02:04 +0300
commit7bf33f00bf4ece4a98c6ea5d8bb9331f2445004b (patch)
tree1d2bd31368cfccc305dc88b88d0589d20e55b9cd /src/libsyntax
parent258e3b3a75a0da006cd492307fc46ef605e774ad (diff)
downloadrust-7bf33f00bf4ece4a98c6ea5d8bb9331f2445004b.tar.gz
rust-7bf33f00bf4ece4a98c6ea5d8bb9331f2445004b.zip
Fix comments around test harness generation
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/test.rs b/src/libsyntax/test.rs
index 6f03c585403..03d0eff266e 100644
--- a/src/libsyntax/test.rs
+++ b/src/libsyntax/test.rs
@@ -327,7 +327,7 @@ fn mk_main(cx: &mut TestCtxt<'_>) -> P<ast::Item> {
     // Writing this out by hand with 'ignored_span':
     //        pub fn main() {
     //            #![main]
-    //            test::test_main_static(::std::os::args().as_slice(), &[..tests]);
+    //            test::test_main_static(&[..tests]);
     //        }
     let sp = ignored_span(cx, DUMMY_SP);
     let ecx = &cx.ext_cx;