-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add some doc aliases to Vec #80432
Add some doc aliases to Vec #80432
Conversation
r? @cramertj (rust-highfive has picked a reviewer for you, use r? to override) |
Actually, may as well add |
library/alloc/src/vec.rs
Outdated
#[doc(alias = "ArrayList")] | ||
#[doc(alias = "List")] | ||
#[doc(alias = "Vector")] |
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.
#[doc(alias = "array_list")]
#[doc(alias = "list")]
#[doc(alias = "vector")]
We should keep it snake_case
like rust style, python also called it list
, not List
(although that is the typing type).
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.
Oh, I forgot this is a struct, can just ignore it. Sorry.
☔ The latest upstream changes (presumably #80530) made this pull request unmergeable. Please resolve the merge conflicts. |
cb3fe39
to
8b6c100
Compare
Weird, there apparently was merge conflict, but using |
cc #81989 — probably one or the other of these will have to be changed, they can't both land as-is |
3bab103
to
ec8b6b4
Compare
r? @m-ou-se |
Thanks for your PR and sorry for the late reply. This has been sitting still without review because it's not quite clear what exactly we want to use See #81989 (comment). While I do personally thik that
So, I'm closing this PR for now. Once we have a policy in place and this PR fits within it, feel free to re-open it. |
Fixes https://twitter.com/artichokeruby/status/1312505176167645189