Skip to content

Document the behaviour of BTreeMap::extend#158069

Open
Timmmm wants to merge 1 commit into
rust-lang:mainfrom
Timmmm:patch-2
Open

Document the behaviour of BTreeMap::extend#158069
Timmmm wants to merge 1 commit into
rust-lang:mainfrom
Timmmm:patch-2

Conversation

@Timmmm

@Timmmm Timmmm commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

It was unclear from the existing documentation how duplicate elements would be handled.

No AI was used for this PR.

@rustbot rustbot added 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 Jun 18, 2026
@rustbot

rustbot commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

r? @joboet

rustbot has assigned @joboet.
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 11 candidates
  • Random selection from 6 candidates

@rust-log-analyzer

This comment has been minimized.

Comment thread library/alloc/src/collections/btree/map.rs Outdated
It was unclear from the existing documentation how duplicate elements would be handled.
@Timmmm

Timmmm commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

I added the same docs to HashMap too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants