Skip to content
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

A few rustdoc source view improvements #9684

Closed
wants to merge 3 commits into from

Conversation

Seldaek
Copy link
Contributor

@Seldaek Seldaek commented Oct 2, 2013

@@ -716,11 +716,12 @@ impl<'self> fmt::Default for Item<'self> {
}
write!(fmt.buf,
"<a class='source'
href='{root}src/{crate}/{path}.html\\#{line}'>[src]</a>",
href='{root}src/{crate}/{path}.html\\#{linefrom}-{lineto}'>[src]</a>",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing how this kinda exists for aesthetic pleasure, seems like we should collapse in the case linefrom == lineto

@alexcrichton
Copy link
Member

Rolling into #9691

bors added a commit that referenced this pull request Oct 3, 2013
This slurps in the commits from #9684 as well as closing #9539.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 23, 2022
`ref_option_ref` do not lint when inner reference is mutable

changelog: FP: [`ref_option_ref`]: No longer lints if the inner reference is mutable

fix rust-lang/rust-clippy#9682
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants