-
Notifications
You must be signed in to change notification settings - Fork 2
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 item transformation with special characters #13
Comments
I wrote this up already, so pasting here: Currently,
This leads to ambiguity if the same name is present in multiple namespaces:
It would be great to add a disambiguator so these didn't have to be fixed manually. The following transformations should work:
There might be more I haven't thought of but this should hit the common cases. Places to look at in rustdoc: |
I just pushed a fix for it, don't hesitate to open a new issue/reopen the existing one if you find failing cases. |
For example macros can be suffixed with
!
, functions and methods with()
and primitives can be prefixedprimitive@
.See this PR for some background.
The text was updated successfully, but these errors were encountered: