Skip to content

Make topmod's name the empty string in rustdoc #2596

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

Closed
catamorphism opened this issue Jun 14, 2012 · 1 comment
Closed

Make topmod's name the empty string in rustdoc #2596

catamorphism opened this issue Jun 14, 2012 · 1 comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@catamorphism
Copy link
Contributor

From rustdoc::doc:

// FIXME: We currently give topmod the name of the crate.  There would
// probably be fewer special cases if the crate had its own name and
// topmod's name was the empty string.
@ghost ghost assigned emberian Jul 3, 2013
@emberian
Copy link
Member

Done with rustdoc_ng... kinda. The frontend does this. The JSON's only name is the name of the "topmod".

RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 22, 2022
Aaron1011 pushed a commit to Aaron1011/rust that referenced this issue Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. 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

2 participants