@@ -197,11 +197,11 @@ pub struct Compiler {
197197
198198#[ derive( PartialEq , Eq , Copy , Clone , Debug ) ]
199199pub enum DocTests {
200- // Default, run normal tests and doc tests.
200+ /// Run normal tests and doc tests (default) .
201201 Yes ,
202- // Do not run any doc tests.
202+ /// Do not run any doc tests.
203203 No ,
204- // Only run doc tests.
204+ /// Only run doc tests.
205205 Only ,
206206}
207207
@@ -221,10 +221,10 @@ pub enum GitRepo {
221221/// methods specifically on this structure itself (to make it easier to
222222/// organize).
223223pub struct Build {
224- // User-specified configuration via config.toml
224+ /// User-specified configuration from ` config.toml`.
225225 config : Config ,
226226
227- // Derived properties from the above two configurations
227+ // Properties derived from the above configuration
228228 src : PathBuf ,
229229 out : PathBuf ,
230230 rust_info : channel:: GitInfo ,
@@ -240,12 +240,12 @@ pub struct Build {
240240 doc_tests : DocTests ,
241241 verbosity : usize ,
242242
243- // Targets for which to build.
243+ // Targets for which to build
244244 build : Interned < String > ,
245245 hosts : Vec < Interned < String > > ,
246246 targets : Vec < Interned < String > > ,
247247
248- // Stage 0 (downloaded) compiler and cargo or their local rust equivalents.
248+ // Stage 0 (downloaded) compiler and cargo or their local rust equivalents
249249 initial_rustc : PathBuf ,
250250 initial_cargo : PathBuf ,
251251
@@ -255,7 +255,7 @@ pub struct Build {
255255 cxx : HashMap < Interned < String > , cc:: Tool > ,
256256 ar : HashMap < Interned < String > , PathBuf > ,
257257 ranlib : HashMap < Interned < String > , PathBuf > ,
258- // Misc
258+ // Miscellaneous
259259 crates : HashMap < Interned < String > , Crate > ,
260260 is_sudo : bool ,
261261 ci_env : CiEnv ,
0 commit comments