about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-17 13:26:29 +0000
committerbors <bors@rust-lang.org>2019-04-17 13:26:29 +0000
commit6ed6f1461dd0d89c85a334f8d8ce7957611f2dfe (patch)
treed6e75c1b8ab0cab86bb1b3360c35c04aecc28c14 /src/libsyntax
parentefe2f32a6b8217425f361ec7c206910c611c03ee (diff)
parent56c01255686ea66e04835447aa3971fd0d9807f5 (diff)
downloadrust-6ed6f1461dd0d89c85a334f8d8ce7957611f2dfe.tar.gz
rust-6ed6f1461dd0d89c85a334f8d8ce7957611f2dfe.zip
Auto merge of #60034 - rasendubi:fix-comments, r=Centril
Small comments fix

- Fix comments around test harness generation
- Promote regular comments to rustdoc comments
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;