Skip to content

Commit 7d4f95e

Browse files
committed
Remove unnecessary cfg directive
1 parent 42365e6 commit 7d4f95e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/encoder.rs

-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ impl EncoderRequest {
298298
}
299299

300300
/// Encodes the instruction into a new buffer.
301-
#[cfg(feature = "alloc")]
302301
pub fn encode(&self) -> Result<Vec<u8>> {
303302
let mut out = vec![0; MAX_INSTRUCTION_LENGTH];
304303
let length = self.encode_into(&mut out[..])?;

0 commit comments

Comments
 (0)