Skip to content
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

Minimize parameter of coerce_borrowed_pointer() #71524

Merged
merged 1 commit into from
Apr 28, 2020
Merged

Conversation

ldm0
Copy link
Contributor

@ldm0 ldm0 commented Apr 24, 2020

Change last parameter of coerce_borrowed_pointer() from TypeAndMut to Mutability (similar to coerce_unsafe_ptr()), since the TypeAndMut::ty is never used directly in this function.

@rust-highfive
Copy link
Collaborator

r? @matthewjasper

(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 24, 2020
@matthewjasper
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Apr 26, 2020

📌 Commit 0fc9d39 has been approved by matthewjasper

@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 26, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 27, 2020
Minimize parameter of coerce_borrowed_pointer()

Change last parameter of `coerce_borrowed_pointer()` from `TypeAndMut` to `Mutability` (similar to `coerce_unsafe_ptr()`), since the `TypeAndMut::ty` is never used directly in this function.
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 27, 2020
Rollup of 7 pull requests

Successful merges:

 - rust-lang#67841 (Add Read/Write::can_read/write_vectored)
 - rust-lang#71524 (Minimize parameter of coerce_borrowed_pointer())
 - rust-lang#71558 (Cleanup and document `-Z tls-model` )
 - rust-lang#71578 (linkchecker: fix typo in main.rs)
 - rust-lang#71596 (Fix broken link in `QPath` documentation)
 - rust-lang#71604 (make recursive-zst test unleashed)
 - rust-lang#71605 (No need to whitelist E0750 anymore)

Failed merges:

r? @ghost
@bors bors merged commit e2976c1 into rust-lang:master Apr 28, 2020
@ldm0 ldm0 deleted the ptrparam branch April 28, 2020 18:03
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.

4 participants