about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-17 15:30:23 -0700
committerMichael Howell <michael@notriddle.com>2022-09-17 15:33:12 -0700
commitb693d2cadf40cb47a26da1b5f70b5ff5baf216bc (patch)
treedf1604339dab8edaabd3f144845016d155053ef6 /library/std/src/sys/unix/stack_overflow.rs
parent98ad6a5519651af36e246c0335c964dd52c554ba (diff)
downloadrust-b693d2cadf40cb47a26da1b5f70b5ff5baf216bc.tar.gz
rust-b693d2cadf40cb47a26da1b5f70b5ff5baf216bc.zip
rustdoc: remove redundant `.location a { font-weight: 500 }`
The `class="location"` element is an h2, either in the sidebar or in the
mobile header. Either way, it already has `font-weight: 500`, which the link
inside will inherit.

The original version of this rule was added in
9e82fc7ef9b6c8a344dd27583990b02a661af78c. At that time, the location header
was rendered as a paragraph with the full path:

https://github.com/rust-lang/rust/blob/9e82fc7ef9b6c8a344dd27583990b02a661af78c/src/librustdoc/html/render.rs#L2080

Nowadays, it's rendered as a true header, with only the name of the item,
and the full path is included in a separate `fqn` header:

https://github.com/rust-lang/rust/blob/98ad6a5519651af36e246c0335c964dd52c554ba/src/librustdoc/html/render/mod.rs#L1797
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions