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

rustdoc should preserve case in anchors #7387

Closed
metajack opened this issue Jun 25, 2013 · 3 comments
Closed

rustdoc should preserve case in anchors #7387

metajack opened this issue Jun 25, 2013 · 3 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@metajack
Copy link
Contributor

Right now a function named FILE_writer and file_writer will both get lowercased in their anchor tags, causing the latter to point to the former, or vice verse depending on the ordering.

Rust identifiers are case-sensitive, so anchors should be too.

@pnkfelix
Copy link
Member

visiting for triage, email 2013-08-12.

@cmr

Probably part of #8125

@emberian
Copy link
Member

cc @Seldaek; if/when this feature is added, this is a consideration.

@alexcrichton
Copy link
Member

This is done as much as it's going to get done. Right now we do have anchors on trait methods which obey this case-preservation, and I think that we should just keep this in mind for the future when we add more anchors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants