From 1046f3e6e859dbae0dc0a2bd91c649e685596919 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sun, 31 Jul 2022 01:01:58 +0200 Subject: [PATCH] try address review comments --- src/building/compiler-documenting.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/building/compiler-documenting.md b/src/building/compiler-documenting.md index 7c52b4b8..9ed5c262 100644 --- a/src/building/compiler-documenting.md +++ b/src/building/compiler-documenting.md @@ -1,13 +1,13 @@ # Building documentation This chapter describes how to build documentation of toolchain components, -either in whole or individually. +like the standard library (std) or the compiler (rustc). - Document everything This uses `rustdoc` from the beta toolchain, so will produce (slightly) different output to stage 1 rustdoc, - as `rustdoc` is under active development: + as rustdoc is under active development: ```bash ./x.py doc @@ -20,8 +20,8 @@ either in whole or individually. ``` First, - the compiler and rustdoc get built to make sure everything is okay, - and then it documents the files. + the compiler gets built to make sure rustdoc compiles, + then that newly-built rustdoc is used to document the components. - Much like running individual tests or building specific components, you can build just the documentation you want: