Skip to content

Correctly specify that the head cannot be >= capacity - #166417

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
tialaramex:master
Nov 25, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
tialaramex:master

Conversation

@tialaramex

Copy link
Copy Markdown
Contributor

I think this comment, which seems to have been added in May this year, is a mistake and so I have corrected it.

@rustbot rustbot added A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-vecdeque Area: `std::collections::VecDeque` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 23, 2026
@rustbot

rustbot commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: libs
  • libs expanded to 38 candidates
  • Random selection from JohnTitor, Mark-Simulacrum, clarfonthey

@bardiharborow

Copy link
Copy Markdown
Contributor

@rustbot label +A-docs

@rustbot rustbot added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Nov 24, 2026

@JohnTitor JohnTitor left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rust-bors

rust-bors Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 9cb30e6 has been approved by JohnTitor

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Nov 24, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
Correctly specify that the head cannot be >= capacity

I think this comment, which seems to have been added in May this year, is a mistake and so I have corrected it.
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 14 pull requests

Successful merges:

 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 14 pull requests

Successful merges:

 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Nov 24, 2026
Correctly specify that the head cannot be >= capacity

I think this comment, which seems to have been added in May this year, is a mistake and so I have corrected it.
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 15 pull requests

Successful merges:

 - #166429 (1.100.1 relnotes)
 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
…uwer

Rollup of 15 pull requests

Successful merges:

 - #166429 (1.100.1 relnotes)
 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166400 (Revert "stabilize {Arc,Rc}::is_unique")
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Rollup of 15 pull requests

Successful merges:

 - #165847 (Skip fulfillment when normalization produces no obligations)
 - #166147 (Lower to `hir::Param`s for required trait functions)
 - #166414 (rustdoc: Use source snippet to render `include_*` literals)
 - #166497 (Integrate doc comment target checking on parameters & where bounds)
 - #166500 (Fix float zero patterns after a failed guard)
 - #165791 (Sync tier 3 addition policy with Forge)
 - #166417 (Correctly specify that the head cannot be >= capacity)
 - #166429 (1.100.1 relnotes)
 - #166448 (triagebot: Send "in progress" message when nomination is in progress)
 - #166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - #166498 (Update the Platform Support page for the *-espidf targets)
 - #166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - #166511 (Documentation: clarify Termination::report doc)
 - #166514 (coroutine: unify the word choice)
 - #166521 (Not-so-pointless change to hashbrown subtree)
@rust-bors
rust-bors Bot merged commit e497552 into rust-lang:main Nov 25, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 25, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 25, 2026
Rollup merge of #166417 - tialaramex:master, r=JohnTitor

Correctly specify that the head cannot be >= capacity

I think this comment, which seems to have been added in May this year, is a mistake and so I have corrected it.
clarfonthey pushed a commit to clarfonthey/hashbrown that referenced this pull request Nov 25, 2026
Rollup of 15 pull requests

Successful merges:

 - rust-lang/rust#165847 (Skip fulfillment when normalization produces no obligations)
 - rust-lang/rust#166147 (Lower to `hir::Param`s for required trait functions)
 - rust-lang/rust#166414 (rustdoc: Use source snippet to render `include_*` literals)
 - rust-lang/rust#166497 (Integrate doc comment target checking on parameters & where bounds)
 - rust-lang/rust#166500 (Fix float zero patterns after a failed guard)
 - rust-lang/rust#165791 (Sync tier 3 addition policy with Forge)
 - rust-lang/rust#166417 (Correctly specify that the head cannot be >= capacity)
 - rust-lang/rust#166429 (1.100.1 relnotes)
 - rust-lang/rust#166448 (triagebot: Send "in progress" message when nomination is in progress)
 - rust-lang/rust#166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - rust-lang/rust#166498 (Update the Platform Support page for the *-espidf targets)
 - rust-lang/rust#166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - rust-lang/rust#166511 (Documentation: clarify Termination::report doc)
 - rust-lang/rust#166514 (coroutine: unify the word choice)
 - rust-lang/rust#166521 (Not-so-pointless change to hashbrown subtree)
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Nov 26, 2026
Rollup of 15 pull requests

Successful merges:

 - rust-lang/rust#165847 (Skip fulfillment when normalization produces no obligations)
 - rust-lang/rust#166147 (Lower to `hir::Param`s for required trait functions)
 - rust-lang/rust#166414 (rustdoc: Use source snippet to render `include_*` literals)
 - rust-lang/rust#166497 (Integrate doc comment target checking on parameters & where bounds)
 - rust-lang/rust#166500 (Fix float zero patterns after a failed guard)
 - rust-lang/rust#165791 (Sync tier 3 addition policy with Forge)
 - rust-lang/rust#166417 (Correctly specify that the head cannot be >= capacity)
 - rust-lang/rust#166429 (1.100.1 relnotes)
 - rust-lang/rust#166448 (triagebot: Send "in progress" message when nomination is in progress)
 - rust-lang/rust#166494 (rustc_target: catch up with LLVM 24 movement on ppc64 openbsd data layout)
 - rust-lang/rust#166498 (Update the Platform Support page for the *-espidf targets)
 - rust-lang/rust#166502 ([rustdoc] Fix rustc_private items being marked as unstable in the search results)
 - rust-lang/rust#166511 (Documentation: clarify Termination::report doc)
 - rust-lang/rust#166514 (coroutine: unify the word choice)
 - rust-lang/rust#166521 (Not-so-pointless change to hashbrown subtree)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-collections Area: `std::collections` (prefer A-binaryheap, A-btree, A-hashtable, A-linkedlist, A-vecdeque) A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools A-vecdeque Area: `std::collections::VecDeque` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants