When looking at rustdoc for items with multiple attributes, atributes are shown on the same line, rather than multiple. I don't have a code fragment, as I've only seen this appear in std documentation.
For example, see the MaybeUninit docs: https://doc.rust-lang.org/1.44.0/std/mem/union.MaybeUninit.html and expand the declaration.
I expected to see something like
#[lang = "maybe_uninit"]
#[repr(transparent)]
pub union MaybeUninit<T> {
// some fields omitted
}
Instead, I see:
#[lang = "maybe_uninit"]#[repr(transparent)]
pub union MaybeUninit<T> {
// some fields omitted
}

This occurs for both rust 1.44.0 and current nightly (unsure of exact nightly version, as looking at std nightly docs, not local docs).
When looking at rustdoc for items with multiple attributes, atributes are shown on the same line, rather than multiple. I don't have a code fragment, as I've only seen this appear in std documentation.
For example, see the MaybeUninit docs: https://doc.rust-lang.org/1.44.0/std/mem/union.MaybeUninit.html and expand the declaration.
I expected to see something like
Instead, I see:
This occurs for both rust 1.44.0 and current nightly (unsure of exact nightly version, as looking at std nightly docs, not local docs).