From 79a5b12a89c85e0402548d8b14670268db2455d1 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 25 May 2021 06:04:22 -0700 Subject: [PATCH] Fix tasklist example in rustdoc book. --- src/doc/rustdoc/src/how-to-write-documentation.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/doc/rustdoc/src/how-to-write-documentation.md b/src/doc/rustdoc/src/how-to-write-documentation.md index 688be7aedea38..f89495cca3a31 100644 --- a/src/doc/rustdoc/src/how-to-write-documentation.md +++ b/src/doc/rustdoc/src/how-to-write-documentation.md @@ -229,15 +229,13 @@ Example: ```md - [x] Complete task -- [ ] IncComplete task +- [ ] Incomplete task ``` -This will render as +This will render as: - +> - [x] Complete task +> - [ ] Incomplete task See the specification for the [task list extension] for more details.