Skip to content

Commit 0e5be8a

Browse files
steffahnjyn514
authored andcommitted
Fix a code block containing ```rust
This wasn't displayed correctly. Changing `` ```rust `` to `` ```rust`` made it a code block again, but the leading space was rendered as-well. (This may be an issue in mdbook, but I'm not sure.) This commit changes it to use HTML-syntax in order to get the desired result.
1 parent e1dde3c commit 0e5be8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustdoc-internals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Here is the list of passes as of <!-- date: 2021-02 --> February 2021:
7272
flag.
7373

7474
- `check-code-block-syntax` validates syntax inside Rust code blocks
75-
(`` ```rust ``)
75+
(<code>```rust</code>)
7676

7777
- `check-invalid-html-tags` detects invalid HTML (like an unclosed `<span>`)
7878
in doc comments.

0 commit comments

Comments
 (0)