We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cfg
1 parent 42365e6 commit 7d4f95eCopy full SHA for 7d4f95e
src/encoder.rs
@@ -298,7 +298,6 @@ impl EncoderRequest {
298
}
299
300
/// Encodes the instruction into a new buffer.
301
- #[cfg(feature = "alloc")]
302
pub fn encode(&self) -> Result<Vec<u8>> {
303
let mut out = vec![0; MAX_INSTRUCTION_LENGTH];
304
let length = self.encode_into(&mut out[..])?;
0 commit comments