Skip to content

Commit 476b79d

Browse files
committed
optmulti bug fix for --include-rendered-docs
1 parent 329cb5e commit 476b79d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/html/render/write_shared.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ impl<T, U: fmt::Display> fmt::Display for Part<T, U> {
285285
}
286286

287287
/// Wrapper trait for `Part<T, U>`
288-
pub(crate) trait CciPart: Sized + fmt::Display + 'static {
288+
trait CciPart: Sized + fmt::Display + 'static {
289289
/// Identifies the kind of cross crate information.
290290
///
291291
/// The cci type name in `doc.parts/<cci type>`

src/librustdoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ fn opts() -> Vec<RustcOptGroup> {
631631
)
632632
}),
633633
unstable("include-rendered-docs", |o| {
634-
o.optopt(
634+
o.optmulti(
635635
"",
636636
"include-rendered-docs",
637637
"Copies docs from an external crate to the --out-dir. Expects PATH to be a path directly

0 commit comments

Comments
 (0)