Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0ab814

Browse files
AddRustdoc::output_format
1 parent1551fd1 commitf0ab814

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/tools/run-make-support/src/rustdoc.rs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ impl Rustdoc {
151151
self
152152
}
153153

154+
/// Specify the output format.
155+
pubfnoutput_format(&mutself,format:&str) ->&mutSelf{
156+
self.cmd.arg("--output-format");
157+
self.cmd.arg(format);
158+
self
159+
}
160+
154161
#[track_caller]
155162
pubfnrun_fail_assert_exit_code(&mutself,code:i32) ->Output{
156163
let caller_location = std::panic::Location::caller();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp