Skip to content

Add more assert to Vec with_capacity docs #72986

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

Merged
merged 1 commit into from
Jun 4, 2020
Merged

Conversation

pickfire
Copy link
Contributor

@pickfire pickfire commented Jun 4, 2020

Show assertion on len too to show them how adding new items will affect both the
length and capacity, before and after.

Show assertion on len too to show them how adding new items will affect both the
length and capacity, before and after.
@rust-highfive
Copy link
Contributor

r? @Mark-Simulacrum

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 4, 2020
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jun 4, 2020

📌 Commit 29ab6b7 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 4, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 4, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#72946 (remove outdated fixme)
 - rust-lang#72971 (Hexagon libstd: fix typo for c_ulonglong)
 - rust-lang#72986 (Add more assert to Vec with_capacity docs)
 - rust-lang#72987 (Add myself to mailmap)
 - rust-lang#72990 (Fix missing word in RELEASES.md)

Failed merges:

r? @ghost
@bors bors merged commit e324c25 into rust-lang:master Jun 4, 2020
@pickfire pickfire deleted the vec-assert branch June 5, 2020 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants