Skip to content

Follow up on BTreeMap comments - #70979

Merged
bors merged 2 commits into
rust-lang:masterfrom
ssomers:btreemap_the_alice_merton_variations
Apr 10, 2020
Merged

Follow up on BTreeMap comments#70979
bors merged 2 commits into
rust-lang:masterfrom
ssomers:btreemap_the_alice_merton_variations

Conversation

@ssomers

Copy link
Copy Markdown
Contributor

r? @Amanieu (for the first commit)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 10, 2020
height: self.height,
node: self.node.as_ptr(),
root: self as *const _ as *mut _,
root: ptr::null(),

@ssomersssomersApr 10, 2020

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

In accordance with the old comment on line 256 and reality (nobody needs that root).

height: self.height,
node: self.node.as_ptr(),
root: ptr::null_mut(), // FIXME: Is there anything better to do here?
root: ptr::null(),

@ssomersssomersApr 10, 2020

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

I doubt that comment was about the unnecessary _mut for a marker::Immut NodeRef, but I think the question has timed out for this particular place, and applies to everything in BTreeMap anyway.

@Amanieu

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Apr 10, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit de39a4f has been approved by Amanieu

@borsbors 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 10, 2020
@CentrilCentril mentioned this pull request Apr 10, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 10, 2020
Rollup of 9 pull requests
Successful merges:
- rust-lang#69745 (Use `PredicateObligation`s instead of `Predicate`s)
- rust-lang#70938 (Add ThreadSanitizer test case)
- rust-lang#70973 (Use forward traversal for unconditional recursion lint)
- rust-lang#70978 (compiletest: let config flags overwrite -A unused)
- rust-lang#70979 (Follow up on BTreeMap comments)
- rust-lang#70981 (Rearrange BTreeMap::into_iter to match range_mut.)
- rust-lang#70985 (Clean up E0512 explanation)
- rust-lang#70988 (Setup the `@rustbot prioritize` command)
- rust-lang#70991 (fix rustc-dev-guide's url in src/librustc_codegen_ssa)
Failed merges:
r? @ghost
@bors
bors merged commit 277ce9e into rust-lang:masterApr 10, 2020
@ssomers
ssomers deleted the btreemap_the_alice_merton_variations branch April 11, 2020 07:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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

@ssomers@Amanieu@bors@rust-highfive