-
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
Remove some uses of mem::uninitialized #62422
Conversation
srWindow: [libc::c_short; 4], | ||
dwMaximumWindowSize: [libc::c_short; 2], | ||
srWindow: SMALL_RECT, | ||
dwMaximumWindowSize: COORD, |
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.
What is all of this diff about?
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.
Just to make CONSOLE_SCREEN_BUFFER_INFO
definition like the one in winapi.
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 don't think I can review Windows FFI code I am afraid. I can't even remember how big a DWORD
is.
r? @alexcrichton |
@bors: r+ |
📌 Commit 6ca83c6d793e3336ae99087242c84153069c37e6 has been approved by |
6ca83c6
to
7646d49
Compare
Rebased to tidy history. |
@bors r=alexcrichton |
📌 Commit 7646d49 has been approved by |
…xcrichton Remove some uses of mem::uninitialized cc rust-lang#62397 r? @RalfJung
Rollup of 4 pull requests [1] Successful merges: - rust-lang#62243 (Improve documentation for built-in macros) - rust-lang#62422 (Remove some uses of mem::uninitialized) - rust-lang#62432 (Update rustfmt to 1.3.2) - rust-lang#62436 (normalize use of backticks/lowercase in compiler messages for librustc_mir) Failed merges: r? @ghost
…xcrichton Remove some uses of mem::uninitialized cc rust-lang#62397 r? @RalfJung
…xcrichton Remove some uses of mem::uninitialized cc rust-lang#62397 r? @RalfJung
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
…xcrichton Remove some uses of mem::uninitialized cc rust-lang#62397 r? @RalfJung
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
cc #62397
r? @RalfJung