-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix: highlight extern crate
in doc comments
#19137
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm was sure I tried this and it made no difference. Thanks!
Hm, in Rust code we mark these as namespaces with |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
Thank you for the suggestion. I've updated the patch. |
Thanks! |
I'm new to this project and still getting familiar with the codebase.
I've added a branch to ensure that
extern crate Krate;
is highlighted as a module inhighlight_name_ref_by_syntax
, and I've updated the corresponding doctest expectations accordingly. If I've misunderstood the intended behavior or made any mistakes in these changes, please let me know. I'm happy to adjust the patch as needed.Fixes #19041.