Skip to content

Rollup of 11 pull requests #86457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
6288aad
Stabilize span_open() and span_close().
m-ou-se Jun 8, 2021
e4b3131
Use as_secs_f64 in JunitFormatter
fee1-dead Jun 16, 2021
210e46b
Add pattern walking support to THIR walker
syvb Jun 16, 2021
68f9172
Fix rustdoc stabilized versions layout
Jun 17, 2021
7cadf7b
Alter std::cell::Cell::get_mut documentation
Eosis Jun 17, 2021
1d5acca
simplify borrowing
syvb Jun 17, 2021
281dd6d
Explicitly write out all fields
syvb Jun 17, 2021
382ba79
Use `map_or` instead of open-coding it
LingMan Jun 17, 2021
88abd7d
Lint for unused borrows as part of UNUSED_MUST_USE
0xPoe Jun 18, 2021
d7bb746
Make clippy tests happy
0xPoe Jun 18, 2021
884336e
Address comment
0xPoe Jun 18, 2021
f6adaed
add various coments to explain how the code works
nikomatsakis Jun 18, 2021
8776b0f
Update library tracking issue for libs-api rename.
m-ou-se Jun 18, 2021
e7a1186
Fix ICE with `#[repr(simd)]` on enum
FabianWolff Jun 18, 2021
831759a
fix typos
nikomatsakis Jun 18, 2021
c688e70
Fixed typo `BorroeError` => `BorrowError` in RefCell docs
akiselev Jun 19, 2021
488a068
Rollup merge of #86136 - m-ou-se:proc-macro-open-close-span, r=m-ou-se
Dylan-DPC Jun 19, 2021
212f703
Rollup merge of #86359 - fee1-dead:f64-junit-formatter, r=JohnTitor
Dylan-DPC Jun 19, 2021
6b7ea65
Rollup merge of #86370 - matteo-briani:fix-rustdoc-stabilized-version…
Dylan-DPC Jun 19, 2021
f1a7e01
Rollup merge of #86378 - Smittyvb:thir-walker-pat, r=LeSeulArtichaut
Dylan-DPC Jun 19, 2021
d55300b
Rollup merge of #86397 - Eosis:alter-cell-docs, r=JohnTitor
Dylan-DPC Jun 19, 2021
28a11f6
Rollup merge of #86407 - LingMan:map-or, r=LeSeulArtichaut
Dylan-DPC Jun 19, 2021
82ef6c8
Rollup merge of #86426 - hi-rustin:rustin-patch-lint-warn, r=Aaron1011
Dylan-DPC Jun 19, 2021
aa4a77f
Rollup merge of #86437 - nikomatsakis:tait-docs, r=oli-obk
Dylan-DPC Jun 19, 2021
a9fd8cd
Rollup merge of #86440 - rust-lang:libs-api-issue-template, r=m-ou-se
Dylan-DPC Jun 19, 2021
15c06b2
Rollup merge of #86444 - FabianWolff:issue-83505, r=LeSeulArtichaut
Dylan-DPC Jun 19, 2021
5f90563
Rollup merge of #86453 - akiselev:patch-1, r=dtolnay
Dylan-DPC Jun 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix rustdoc stabilized versions layout
  • Loading branch information
Matteo Briani committed Jun 17, 2021
commit 68f9172fc136ab0b5cbc082eb7a51a725c108a7d
5 changes: 3 additions & 2 deletions src/librustdoc/html/render/print_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,9 @@ fn item_enum(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, e: &clean::Enum
}
w.write_str(")");
}
w.write_str("</code></div>");
w.write_str("</code>");
render_stability_since(w, variant, it, cx.tcx());
w.write_str("</div>");
document(w, cx, variant, Some(it));
document_non_exhaustive(w, variant);

Expand Down Expand Up @@ -1021,7 +1023,6 @@ fn item_enum(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, e: &clean::Enum
w.write_str("</div></div>");
toggle_close(w);
}
render_stability_since(w, variant, it, cx.tcx());
}
}
let def_id = it.def_id.expect_real();
Expand Down
6 changes: 6 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,12 @@ a {
background: transparent;
}

.small-section-header {
display: flex;
justify-content: space-between;
position: relative;
}

.small-section-header:hover > .anchor {
display: initial;
}
Expand Down