From 96e96f7e5d283b1898f9b55ed8e88d4e03bb8934 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Fri, 18 Jun 2021 22:11:04 -0400 Subject: [PATCH] Drop obsolete comment --- examples/cli/platform/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/cli/platform/src/lib.rs b/examples/cli/platform/src/lib.rs index d6030f6b98..37a120b2df 100644 --- a/examples/cli/platform/src/lib.rs +++ b/examples/cli/platform/src/lib.rs @@ -206,8 +206,6 @@ pub unsafe fn roc_fx_open(roc_path: RocStr) -> RocResult { pub unsafe fn roc_fx_read(fd: Fd, bytes: usize) -> RocResult, Errno> { const BUF_BYTES: usize = 1024; - // 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. let mut buf: MaybeUninit<[u8; BUF_BYTES]> = MaybeUninit::uninit(); // We'll use our own position and libc::pread rather than using libc::read