about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-03-16 01:30:41 +0100
committerGitHub <noreply@github.com>2020-03-16 01:30:41 +0100
commit6b50a4cebb55db54104a071c74f2fc74de17b6af (patch)
treee672e08f84632cbef14a7aec025e360f907b4f2c /src/test/rustdoc-ui/coverage/json.rs
parent9296d770bd7fd5325280da86ab0c06562aa52c2d (diff)
parent6d521ecc62013efb62d541b783441c715e7a0e74 (diff)
downloadrust-6b50a4cebb55db54104a071c74f2fc74de17b6af.tar.gz
rust-6b50a4cebb55db54104a071c74f2fc74de17b6af.zip
Rollup merge of #70014 - TimotheeGerber:small-fix-rustdoc-book, r=Dylan-DPC
Small fixes in rustdoc book

I read the `rustdoc` book today and noticed some small typos/problems. Mainly:

 - `# fn foo() {}` was displayed when not needed because fenced block code type was `text` instead of `rust`;
 - two path separators were missing and some Windows-style separators were not consistent with the rest of them (mainly Linux-style).

Here are my proposed fixes. It is my first PR for the rust project. Don't hesitate to tell me if I am doing it wrong or if you need anything else.

Have a nice day!
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions