about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-28 13:26:16 +0200
committerGitHub <noreply@github.com>2021-08-28 08:26:16 -0300
commit5575d62805dd79b15f8f6436984ceeea7f10bed1 (patch)
tree90ad2c0064326a268b69e67ffd7c20b8001cf9ba /src/doc/rustc-dev-guide
parent6839dc5bf9f53ebd14f4c9d969cc076670177248 (diff)
downloadrust-5575d62805dd79b15f8f6436984ceeea7f10bed1.tar.gz
rust-5575d62805dd79b15f8f6436984ceeea7f10bed1.zip
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.)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/rustdoc-internals.md4
-rw-r--r--src/doc/rustc-dev-guide/src/tests/adding.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/rustdoc-internals.md b/src/doc/rustc-dev-guide/src/rustdoc-internals.md
index 2e06d5b1fba..a74078951ee 100644
--- a/src/doc/rustc-dev-guide/src/rustdoc-internals.md
+++ b/src/doc/rustc-dev-guide/src/rustdoc-internals.md
@@ -78,8 +78,8 @@ Here is the list of passes as of <!-- date: 2021-02 --> February 2021:
   in doc comments.
 
 - `check-non-autolinks` detects links that could or should be written using
-  angle brackets (the code behind the nightly-only <!-- date: 2021-02 -->
-  `non_autolinks` lint).
+  angle brackets (the code behind the nightly-only <!-- date: 2021-02 --> `non_autolinks`
+  lint).
 
 - `collapse-docs` concatenates all document attributes into one document
   attribute. This is necessary because each line of a doc comment is given as a
diff --git a/src/doc/rustc-dev-guide/src/tests/adding.md b/src/doc/rustc-dev-guide/src/tests/adding.md
index 8508c2f206d..d9b063d5c43 100644
--- a/src/doc/rustc-dev-guide/src/tests/adding.md
+++ b/src/doc/rustc-dev-guide/src/tests/adding.md
@@ -339,8 +339,8 @@ The error levels that you can have are:
 
 ## Revisions
 
-Certain classes of tests support "revisions" (as of <!-- date: 2021-02 -->
-February 2021, this includes compile-fail, run-fail, and incremental, though
+Certain classes of tests support "revisions" (as of <!-- date: 2021-02 --> February 2021,
+this includes compile-fail, run-fail, and incremental, though
 incremental tests are somewhat different). Revisions allow a single test file to
 be used for multiple tests. This is done by adding a special header at the top
 of the file: