We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8de4c72 commit eb2913bCopy full SHA for eb2913b
library/coretests/tests/io/borrowed_buf.rs
@@ -66,7 +66,7 @@ fn clear() {
66
67
#[test]
68
fn set_init() {
69
- let buf: &mut [_] = &mut [MaybeUninit::uninit(); 16];
+ let buf: &mut [_] = &mut [MaybeUninit::zeroed(); 16];
70
let mut rbuf: BorrowedBuf<'_> = buf.into();
71
72
unsafe {
@@ -134,7 +134,7 @@ fn reborrow_written() {
134
135
136
fn cursor_set_init() {
137
138
139
140
0 commit comments