about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-09-23 12:59:58 -0700
committerMichael Howell <michael@notriddle.com>2023-10-08 20:17:53 -0700
commit47c46324aa28a53893f600437a2f911b8e28ef6e (patch)
tree0d85155c9b626a5ee600bde92de010163e159f92 /compiler/rustc_codegen_llvm/src/errors.rs
parentb0d76a7efe06a1ab79cf02cfb2d430e529412ac4 (diff)
downloadrust-47c46324aa28a53893f600437a2f911b8e28ef6e.tar.gz
rust-47c46324aa28a53893f600437a2f911b8e28ef6e.zip
rustdoc: clean up the In [name] up-pointer
This commit makes three changes for consistency and readability:

  - It shows the sibling navigation on module pages. It's weird
    that it didn't work before, and is inconsistent with everything
    else (even Crates have sibling navigation with other Crates).
  - It hides the "In [parent]" header if it's the same as the
    current crate, and if there's no other header between them.
    We need to keep it on modules and types, since they have
    their own header and data between them, and we don't want
    to show siblings under a header implying that they're children.
  - It adds a margin to deal with the headers butting directly into
    the branding lockup.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions