-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Improve headers linking #43747
Improve headers linking #43747
Conversation
A little file to run this new rustdoc upon: use std::ops::Deref;
/// fooo
pub struct Foo {
/// lol
pub x: u32,
/// yeay
pub y: i32,
}
impl Deref for Foo {
type Target = u32;
fn deref(&self) -> &u32 {
&self.x
}
} |
Built this locally so i could get my own rendering. Looks good! For posterity: Basically this gives certain major headers their own section marker that appears at the end, rather than automatically tagging it onto each link inside the header. This keeps "Methods from Deref" from generating a lot of spurious section markers. r=me pending travis |
@bors r+ rollup |
📌 Commit 8ac4336 has been approved by |
…reavus Improve headers linking r? @QuietMisdreavus
…reavus Improve headers linking r? @QuietMisdreavus
r? @QuietMisdreavus