Skip to content

rustdoc: long type aliases overflow grey box at top of screen #89972

Closed

Description

Given a program like:

pub type ReallyLongTypeNameLongLongLong = Option<unsafe extern "C" fn(a: *const u8, b: *const u8) -> *const u8>;

fn main() {
    println!("Hello, world!");
}

The type's summary in the grey box at the top of the page overflows:

image

Example at:

https://jacob.hoffman-andrews.com/rust/longname/longname/type.ReallyLongTypeNameLongLongLong.html

Note that this does not happen for structs. I haven't tested for other item kinds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

A-rustdoc-uiArea: Rustdoc UI (generated HTML)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions