Skip to content

Clarify the difference between insert and get_or_insert #84337

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
Apr 20, 2021

Conversation

matklad
Copy link
Member

@matklad matklad commented Apr 19, 2021

Took me a while to realize that the two are actually different.

@rust-highfive
Copy link
Contributor

r? @kennytm

(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 Apr 19, 2021
@rust-log-analyzer

This comment has been minimized.

@jyn514
Copy link
Member

jyn514 commented Apr 19, 2021

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Apr 19, 2021

📌 Commit de16951 has been approved by jyn514

@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 Apr 19, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 20, 2021
Rollup of 4 pull requests

Successful merges:

 - rust-lang#84337 (Clarify the difference between insert and get_or_insert)
 - rust-lang#84340 (rustdoc: Show nag box on IE11)
 - rust-lang#84345 (Remove comment about doc hack.)
 - rust-lang#84347 (rustdoc: Simplify some document functions)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 9f03385 into rust-lang:master Apr 20, 2021
@rustbot rustbot added this to the 1.53.0 milestone Apr 20, 2021
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.

7 participants