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

MaybeUninit doctest: remove unnecessary type ascription #61161

Merged
merged 1 commit into from
May 26, 2019

Conversation

RalfJung
Copy link
Member

No description provided.

@rust-highfive
Copy link
Collaborator

r? @Kimundi

(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 May 25, 2019
@@ -1071,7 +1071,7 @@ impl<T: ?Sized> DerefMut for ManuallyDrop<T> {
/// optimizations, potentially resulting in a larger size:
///
/// ```rust
/// # use std::mem::{MaybeUninit, size_of, align_of};
/// # use std::mem::{MaybeUninit, size_of};
Copy link
Member Author

Choose a reason for hiding this comment

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

I had to fix this to make the tests pass... makes me wonder why are passing on CI.

Copy link
Member

Choose a reason for hiding this comment

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

This was my mistake: #59940 (comment).

@Centril
Copy link
Contributor

Centril commented May 25, 2019

r? @Centril @bors r+ rollup

@bors
Copy link
Contributor

bors commented May 25, 2019

📌 Commit 72145ea has been approved by Centril

@rust-highfive rust-highfive assigned Centril and unassigned Kimundi May 25, 2019
@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 May 25, 2019
Centril added a commit to Centril/rust that referenced this pull request May 25, 2019
MaybeUninit doctest: remove unnecessary type ascription
Centril added a commit to Centril/rust that referenced this pull request May 25, 2019
MaybeUninit doctest: remove unnecessary type ascription
Centril added a commit to Centril/rust that referenced this pull request May 25, 2019
MaybeUninit doctest: remove unnecessary type ascription
Centril added a commit to Centril/rust that referenced this pull request May 25, 2019
MaybeUninit doctest: remove unnecessary type ascription
Centril added a commit to Centril/rust that referenced this pull request May 26, 2019
MaybeUninit doctest: remove unnecessary type ascription
bors added a commit that referenced this pull request May 26, 2019
Rollup of 9 pull requests

Successful merges:

 - #61087 (Tweak `self` arg not as first argument of a method diagnostic)
 - #61114 (Vec: avoid creating slices to the elements)
 - #61144 (Suggest borrowing for loop head on move error)
 - #61149 (Fix spelling in release notes)
 - #61161 (MaybeUninit doctest: remove unnecessary type ascription)
 - #61173 (Auto-derive Encode and Decode implementations of DefPathTable)
 - #61184 (Add additional trace statements to the const propagator)
 - #61189 (Turn turbo 🐟 🍨 into an error)
 - #61193 (Add comment to explain why we change the layout for Projection)

Failed merges:

r? @ghost
@bors bors merged commit 72145ea into rust-lang:master May 26, 2019
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.

6 participants