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[..])?;