Skip to content

Commit 3735857

Browse files
eopbtshepang
authored andcommitted
test headers: fix compile-flags example
This is more consistent with the other examples in this file such as https://github.com/rust-lang/rustc-dev-guide/blob/a13b7c28ed705891c681ce5417b3d1cdb12cecd1/src/tests/headers.md?plain=1#L196 and
1 parent a13b7c2 commit 3735857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/headers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ The following headers are generally available, and not specific to particular
190190
test suites.
191191

192192
* `compile-flags` passes extra command-line args to the compiler,
193-
e.g. `compile-flags -g` which forces debuginfo to be enabled.
193+
e.g. `// compile-flags: -g` which forces debuginfo to be enabled.
194194
* `run-flags` passes extra args to the test if the test is to be executed.
195195
* `edition` controls the edition the test should be compiled with
196196
(defaults to 2015). Example usage: `// edition:2018`.

0 commit comments

Comments
 (0)