We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rustdoc::output_format
1 parent 1551fd1 commit f0ab814Copy full SHA for f0ab814
src/tools/run-make-support/src/rustdoc.rs
@@ -151,6 +151,13 @@ impl Rustdoc {
151
self
152
}
153
154
+ /// Specify the output format.
155
+ pub fn output_format(&mut self, format: &str) -> &mut Self {
156
+ self.cmd.arg("--output-format");
157
+ self.cmd.arg(format);
158
+ self
159
+ }
160
+
161
#[track_caller]
162
pub fn run_fail_assert_exit_code(&mut self, code: i32) -> Output {
163
let caller_location = std::panic::Location::caller();
0 commit comments