From f8158122c58d6c3f83c85c146bc70127a19bf874 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Mon, 22 Jun 2015 20:22:31 +0200 Subject: [PATCH] book: there are 4 special sections --- src/doc/trpl/documentation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/trpl/documentation.md b/src/doc/trpl/documentation.md index 53754e2688d..4e1d8c7e5fa 100644 --- a/src/doc/trpl/documentation.md +++ b/src/doc/trpl/documentation.md @@ -107,7 +107,7 @@ we could have added more explanation in a new paragraph. ``` Next, are special sections. These are indicated with a header, `#`. There -are three kinds of headers that are commonly used. They aren't special syntax, +are four kinds of headers that are commonly used. They aren't special syntax, just convention, for now. ```rust @@ -149,7 +149,7 @@ responsible for upholding. # fn foo() {} ``` -Third, `Examples`. Include one or more examples of using your function or +Fourth, `Examples`. Include one or more examples of using your function or method, and your users will love you for it. These examples go inside of code block annotations, which we'll talk about in a moment, and can have more than one section: