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

Remove unnecessary explicit conversions from *mut T to *const T #21375

Merged
merged 1 commit into from
Jan 21, 2015

Conversation

petrochenkov
Copy link
Contributor

After PR #19766 added implicit coersions *mut T -> *const T, the explicit casts can be removed.
(The number of such casts turned out to be relatively small).

@rust-highfive
Copy link
Collaborator

r? @pcwalton

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

@alexcrichton
Copy link
Member

@bors: r+ 812ce6c rollup

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 19, 2015
After PR rust-lang#19766 added implicit coersions `*mut T -> *const T`, the explicit casts can be removed.
(The number of such casts turned out to be relatively small).
barosl added a commit to barosl/rust that referenced this pull request Jan 20, 2015
After PR rust-lang#19766 added implicit coersions `*mut T -> *const T`, the explicit casts can be removed.
(The number of such casts turned out to be relatively small).
@bors bors merged commit 812ce6c into rust-lang:master Jan 21, 2015
@petrochenkov petrochenkov deleted the ssbsl branch May 9, 2015 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants