File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -138,15 +138,19 @@ pub enum CompileMode {
138
138
/// Building a target with `rustc` to emit `rmeta` metadata only. If
139
139
/// `test` is true, then it is also compiled with `--test` to check it like
140
140
/// a test.
141
- Check { test : bool } ,
141
+ Check {
142
+ test : bool ,
143
+ } ,
142
144
/// Used to indicate benchmarks should be built. This is not used in
143
145
/// `Unit`, because it is essentially the same as `Test` (indicating
144
146
/// `--test` should be passed to rustc) and by using `Test` instead it
145
147
/// allows some de-duping of Units to occur.
146
148
Bench ,
147
149
/// A target that will be documented with `rustdoc`.
148
150
/// If `deps` is true, then it will also document all dependencies.
149
- Doc { deps : bool } ,
151
+ Doc {
152
+ deps : bool ,
153
+ } ,
150
154
/// A target that will be tested with `rustdoc`.
151
155
Doctest ,
152
156
Docscrape ,
Original file line number Diff line number Diff line change @@ -323,7 +323,9 @@ impl Profiles {
323
323
( InternedString :: new ( "dev" ) , None )
324
324
}
325
325
}
326
- CompileMode :: Doc { .. } | CompileMode :: Docscrape => ( InternedString :: new ( "doc" ) , None ) ,
326
+ CompileMode :: Doc { .. } | CompileMode :: Docscrape => {
327
+ ( InternedString :: new ( "doc" ) , None )
328
+ }
327
329
}
328
330
} else {
329
331
( self . requested_profile , None )
You can’t perform that action at this time.
0 commit comments