Skip to content

Make the Weak::{into,as}_raw methods - #61862

Merged
bors merged 1 commit into
rust-lang:masterfrom
vorner:weak-into-raw-methods
Jul 7, 2019
Merged

Make the Weak::{into,as}_raw methods#61862
bors merged 1 commit into
rust-lang:masterfrom
vorner:weak-into-raw-methods

Conversation

@vorner

Copy link
Copy Markdown
Contributor

Because Weak doesn't Deref, so there's no reason for them to be only
associated methods.

As kindly pointed out here #60766 (comment) by @chpio.

Because Weak doesn't Deref, so there's no reason for them to be only
associated methods.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @withoutboats

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 15, 2019
@vorner

Copy link
Copy Markdown
ContributorAuthor

Hello. Could someone have a look at this? It's sitting here for some time…

I believe the build failure on azure was some kind of azure breakage during the experiment (the build didn't even start); travis were successful.

@tesuji

Copy link
Copy Markdown
Contributor

cc @sfackler

@sfackler

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Jul 6, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 49fbd76 has been approved by sfackler

@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 Jul 6, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 6, 2019
…ckler
Make the Weak::{into,as}_raw methods
Because Weak doesn't Deref, so there's no reason for them to be only
associated methods.
As kindly pointed out here rust-lang#60766 (comment) by @chpio.
@CentrilCentril mentioned this pull request Jul 6, 2019
bors added a commit that referenced this pull request Jul 6, 2019
Rollup of 6 pull requests
Successful merges:
- #60081 (Refactor unicode.py script)
- #61862 (Make the Weak::{into,as}_raw methods)
- #62243 (Improve documentation for built-in macros)
- #62422 (Remove some uses of mem::uninitialized)
- #62432 (Update rustfmt to 1.3.2)
- #62436 (normalize use of backticks/lowercase in compiler messages for librustc_mir)
Failed merges:
r? @ghost
Centril added a commit to Centril/rust that referenced this pull request Jul 6, 2019
…ckler
Make the Weak::{into,as}_raw methods
Because Weak doesn't Deref, so there's no reason for them to be only
associated methods.
As kindly pointed out here rust-lang#60766 (comment) by @chpio.
@CentrilCentril mentioned this pull request Jul 6, 2019
bors added a commit that referenced this pull request Jul 6, 2019
Rollup of 5 pull requests
Successful merges:
- #60081 (Refactor unicode.py script)
- #61862 (Make the Weak::{into,as}_raw methods)
- #62243 (Improve documentation for built-in macros)
- #62422 (Remove some uses of mem::uninitialized)
- #62436 (normalize use of backticks/lowercase in compiler messages for librustc_mir)
Failed merges:
r? @ghost
@bors

bors commented Jul 7, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 49fbd76 with merge b0bd5f2...

@bors
bors merged commit 49fbd76 into rust-lang:masterJul 7, 2019
@vorner
vorner deleted the weak-into-raw-methods branch July 7, 2019 06:50
@vorner

Copy link
Copy Markdown
ContributorAuthor

Thank you :-)

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.

6 participants

@vorner@rust-highfive@tesuji@sfackler@bors@withoutboats