Skip to content

Commit dcfb973

Browse files
committed
address review comment
rust-lang#1394 (comment)
1 parent e697cb6 commit dcfb973

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Diff for: src/contributing.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -450,16 +450,22 @@ Just a few things to keep in mind:
450450
For the action to pick the date,
451451
add a special annotation before specifying the date:
452452

453-
<!-- date-check --> Jul 2022
453+
```md
454+
<!-- date-check --> Jul 2022
455+
```
454456

455457
Example:
456458

457-
As of <!-- date-check --> Jul 2022, the foo did the bar.
459+
```md
460+
As of <!-- date-check --> Jul 2022, the foo did the bar.
461+
```
458462

459463
For cases where the date should not be part of the visible rendered output,
460464
use the following instead:
461465

462-
<!-- date-check: Jul 2022 -->
466+
```md
467+
<!-- date-check: Jul 2022 -->
468+
```
463469

464470
- A link to a relevant WG, tracking issue, `rustc` rustdoc page, or similar, that may provide
465471
further explanation for the change process or a way to verify that the information is not

0 commit comments

Comments
 (0)