mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
remove annotation
This commit is contained in:
parent
79b44b2dc5
commit
c44ed3ec79
1 changed files with 0 additions and 1 deletions
|
@ -208,7 +208,6 @@ pub unsafe fn roc_fx_read(fd: Fd, bytes: usize) -> RocResult<RocList<u8>, Errno>
|
||||||
|
|
||||||
// I know that since Rust 1.39 mem::uninitialized() is deprecated in favor
|
// I know that since Rust 1.39 mem::uninitialized() is deprecated in favor
|
||||||
// of MaybeUninit, but I couldn't get this to work with MaybeUninit.
|
// of MaybeUninit, but I couldn't get this to work with MaybeUninit.
|
||||||
#[allow(deprecated)]
|
|
||||||
let mut buf: MaybeUninit<[u8; BUF_BYTES]> = MaybeUninit::uninit();
|
let mut buf: MaybeUninit<[u8; BUF_BYTES]> = MaybeUninit::uninit();
|
||||||
|
|
||||||
// We'll use our own position and libc::pread rather than using libc::read
|
// We'll use our own position and libc::pread rather than using libc::read
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue