-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Document ModuleData
and improve names
#80425
Conversation
There seems to be a function called Also, perhaps |
a534373
to
ba4c1de
Compare
The |
Will it be confusing if there's |
|
This comment has been minimized.
This comment has been minimized.
13f427e
to
8edcdb9
Compare
r=me after squashing commits. |
dce53a7
to
f0598e5
Compare
Rebased. |
* Convert comments on fields to doc comments so they're visible in API docs * Add new documentation * Get rid of "normal module" terminology
@bors r+ |
📌 Commit 5c86c223ee890dbdfd136e8eb9f0a404bc9a88bf has been approved by |
Oh, I was about to push up squashed commits. Do you still want me to do that? |
* Rename `ModuleData.normal_ancestor_id` to `nearest_parent_mod` `normal_ancestor_id` is a very confusing name if you don't already understand what it means. Adding docs helps, but using a clearer and more obvious name is also important. * Rename `Resolver::nearest_mod_parent` to `nearest_parent_mod` * Add more docs
Yes, please push. |
5c86c22
to
ff75da8
Compare
Squashed. |
@bors r+ |
📌 Commit ff75da8 has been approved by |
☀️ Test successful - checks-actions |
ModuleData
ModuleData.normal_ancestor_id
tonearest_parent_mod
Resolver::nearest_mod_parent
tonearest_parent_mod
cc https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/mentoring/near/221029702
r? @petrochenkov