Add doc aliases "vector" and "list" to Vec#149232
Merged
bors merged 1 commit intorust-lang:mainfrom Nov 24, 2025
Merged
Conversation
Member
I think list doesn't quite match that part of the policy because of what you said, but @bors r+ rollup |
Collaborator
bend-n
added a commit
to bend-n/rust
that referenced
this pull request
Nov 23, 2025
Add doc aliases "vector" and "list" to `Vec` - "vector" is what "vec" is short form for. - "list" is a common name for this concept in a lot of other languages (`ArrayList` in Java, `list` in Python, `List` in C#). C++ uses the term for a linked list (`std::list`), so maybe this is contentious? I believe that this falls under [the doc alias policy](https://std-dev-guide.rust-lang.org/policy/doc-alias.html), and I think it's plausible that a newcomer would search for either of these terms, and expect to find `Vec`. r? libs
rust-timer
added a commit
that referenced
this pull request
Nov 24, 2025
Rollup merge of #149232 - madsmtm:vec-doc-aliases, r=Noratrieb Add doc aliases "vector" and "list" to `Vec` - "vector" is what "vec" is short form for. - "list" is a common name for this concept in a lot of other languages (`ArrayList` in Java, `list` in Python, `List` in C#). C++ uses the term for a linked list (`std::list`), so maybe this is contentious? I believe that this falls under [the doc alias policy](https://std-dev-guide.rust-lang.org/policy/doc-alias.html), and I think it's plausible that a newcomer would search for either of these terms, and expect to find `Vec`. r? libs
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this pull request
Nov 24, 2025
Rollup of 3 pull requests Successful merges: - rust-lang/rust#149179 (Add regression test for 128705) - rust-lang/rust#149197 (validate usage of crate-level doc attributes) - rust-lang/rust#149232 (Add doc aliases "vector" and "list" to `Vec`) r? `@ghost` `@rustbot` modify labels: rollup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ArrayListin Java,listin Python,Listin C#). C++ uses the term for a linked list (std::list), so maybe this is contentious?I believe that this falls under the doc alias policy, and I think it's plausible that a newcomer would search for either of these terms, and expect to find
Vec.r? libs