Skip to content

Commit 2f44729

Browse files
authoredAug 28, 2021
Trailing date comments in a line inside of a paragraph caused beginning of a new paragraph. (#1196)
This PR fixes the 2 occurrences of that. (I'm not sure if there's an underlying issue with mdbook or if this is working as intended.)
1 parent 7f8f19f commit 2f44729

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎src/rustdoc-internals.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Here is the list of passes as of <!-- date: 2021-02 --> February 2021:
7878
in doc comments.
7979

8080
- `check-non-autolinks` detects links that could or should be written using
81-
angle brackets (the code behind the nightly-only <!-- date: 2021-02 -->
82-
`non_autolinks` lint).
81+
angle brackets (the code behind the nightly-only <!-- date: 2021-02 --> `non_autolinks`
82+
lint).
8383

8484
- `collapse-docs` concatenates all document attributes into one document
8585
attribute. This is necessary because each line of a doc comment is given as a

‎src/tests/adding.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ The error levels that you can have are:
339339

340340
## Revisions
341341

342-
Certain classes of tests support "revisions" (as of <!-- date: 2021-02 -->
343-
February 2021, this includes compile-fail, run-fail, and incremental, though
342+
Certain classes of tests support "revisions" (as of <!-- date: 2021-02 --> February 2021,
343+
this includes compile-fail, run-fail, and incremental, though
344344
incremental tests are somewhat different). Revisions allow a single test file to
345345
be used for multiple tests. This is done by adding a special header at the top
346346
of the file:

0 commit comments

Comments
 (0)