From c44ed3ec79fc7b1983983454458a6e65dce4889e Mon Sep 17 00:00:00 2001 From: Folkert Date: Sat, 19 Jun 2021 00:52:02 +0200 Subject: [PATCH] remove annotation --- examples/cli/platform/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/cli/platform/src/lib.rs b/examples/cli/platform/src/lib.rs index e6d3dcf454..d6030f6b98 100644 --- a/examples/cli/platform/src/lib.rs +++ b/examples/cli/platform/src/lib.rs @@ -208,7 +208,6 @@ pub unsafe fn roc_fx_read(fd: Fd, bytes: usize) -> RocResult, Errno> // 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. - #[allow(deprecated)] let mut buf: MaybeUninit<[u8; BUF_BYTES]> = MaybeUninit::uninit(); // We'll use our own position and libc::pread rather than using libc::read