@@ -197,11 +197,11 @@ pub struct Compiler {
197
197
198
198
#[ derive( PartialEq , Eq , Copy , Clone , Debug ) ]
199
199
pub enum DocTests {
200
- // Default, run normal tests and doc tests.
200
+ /// Run normal tests and doc tests (default) .
201
201
Yes ,
202
- // Do not run any doc tests.
202
+ /// Do not run any doc tests.
203
203
No ,
204
- // Only run doc tests.
204
+ /// Only run doc tests.
205
205
Only ,
206
206
}
207
207
@@ -221,10 +221,10 @@ pub enum GitRepo {
221
221
/// methods specifically on this structure itself (to make it easier to
222
222
/// organize).
223
223
pub struct Build {
224
- // User-specified configuration via config.toml
224
+ /// User-specified configuration from ` config.toml`.
225
225
config : Config ,
226
226
227
- // Derived properties from the above two configurations
227
+ // Properties derived from the above configuration
228
228
src : PathBuf ,
229
229
out : PathBuf ,
230
230
rust_info : channel:: GitInfo ,
@@ -240,12 +240,12 @@ pub struct Build {
240
240
doc_tests : DocTests ,
241
241
verbosity : usize ,
242
242
243
- // Targets for which to build.
243
+ // Targets for which to build
244
244
build : Interned < String > ,
245
245
hosts : Vec < Interned < String > > ,
246
246
targets : Vec < Interned < String > > ,
247
247
248
- // Stage 0 (downloaded) compiler and cargo or their local rust equivalents.
248
+ // Stage 0 (downloaded) compiler and cargo or their local rust equivalents
249
249
initial_rustc : PathBuf ,
250
250
initial_cargo : PathBuf ,
251
251
@@ -255,7 +255,7 @@ pub struct Build {
255
255
cxx : HashMap < Interned < String > , cc:: Tool > ,
256
256
ar : HashMap < Interned < String > , PathBuf > ,
257
257
ranlib : HashMap < Interned < String > , PathBuf > ,
258
- // Misc
258
+ // Miscellaneous
259
259
crates : HashMap < Interned < String > , Crate > ,
260
260
is_sudo : bool ,
261
261
ci_env : CiEnv ,
0 commit comments