-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Conversation
r? @Kimundi (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -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}; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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).
📌 Commit 72145ea has been approved by |
MaybeUninit doctest: remove unnecessary type ascription
MaybeUninit doctest: remove unnecessary type ascription
MaybeUninit doctest: remove unnecessary type ascription
MaybeUninit doctest: remove unnecessary type ascription
MaybeUninit doctest: remove unnecessary type ascription
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
No description provided.