From 7d4f95e26ed502aa45e8498c7878a0f65a0379cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20H=C3=B6ner?= Date: Sat, 9 Mar 2024 18:10:14 +0100 Subject: [PATCH] Remove unnecessary `cfg` directive --- src/encoder.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/encoder.rs b/src/encoder.rs index bb1ae2a..757fcea 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -298,7 +298,6 @@ impl EncoderRequest { } /// Encodes the instruction into a new buffer. - #[cfg(feature = "alloc")] pub fn encode(&self) -> Result> { let mut out = vec![0; MAX_INSTRUCTION_LENGTH]; let length = self.encode_into(&mut out[..])?;