Rollup merge of #84458 - jyn514:cleanup-after-krate, r=GuillaumeGomez
Remove unnecessary fields and parameters in rustdoc r? `@GuillaumeGomez`
This commit is contained in:
commit
8d75898dbb
7 changed files with 39 additions and 79 deletions
|
@ -530,7 +530,7 @@ fn render_markdown(
|
|||
&links,
|
||||
&mut ids,
|
||||
cx.shared.codes,
|
||||
cx.shared.edition,
|
||||
cx.shared.edition(),
|
||||
&cx.shared.playground
|
||||
)
|
||||
.into_string()
|
||||
|
@ -660,7 +660,7 @@ fn short_item_info(
|
|||
¬e,
|
||||
&mut ids,
|
||||
error_codes,
|
||||
cx.shared.edition,
|
||||
cx.shared.edition(),
|
||||
&cx.shared.playground,
|
||||
);
|
||||
message.push_str(&format!(": {}", html.into_string()));
|
||||
|
@ -702,7 +702,7 @@ fn short_item_info(
|
|||
&unstable_reason.as_str(),
|
||||
&mut ids,
|
||||
error_codes,
|
||||
cx.shared.edition,
|
||||
cx.shared.edition(),
|
||||
&cx.shared.playground,
|
||||
)
|
||||
.into_string()
|
||||
|
@ -1366,7 +1366,7 @@ fn render_impl(
|
|||
&i.impl_item.links(cx),
|
||||
&mut ids,
|
||||
cx.shared.codes,
|
||||
cx.shared.edition,
|
||||
cx.shared.edition(),
|
||||
&cx.shared.playground
|
||||
)
|
||||
.into_string()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue