From d67142cc8397138414292e89c17b30fef1e526e5 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Mon, 19 Aug 2024 02:47:57 +0200 Subject: [PATCH] Fix compiling `objc2_foundation/NSData.rs` without `block2` enabled --- framework-crates/objc2-foundation/src/data.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/framework-crates/objc2-foundation/src/data.rs b/framework-crates/objc2-foundation/src/data.rs index e1de52df3..d78191841 100644 --- a/framework-crates/objc2-foundation/src/data.rs +++ b/framework-crates/objc2-foundation/src/data.rs @@ -1,4 +1,3 @@ -#[cfg(feature = "block2")] use alloc::vec::Vec; use core::ffi::c_void; use core::fmt;