Skip to content

Commit

Permalink
Remove unnecessary cfg directive
Browse files Browse the repository at this point in the history
  • Loading branch information
athre0z committed Mar 9, 2024
1 parent 42365e6 commit 7d4f95e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ impl EncoderRequest {
}

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

0 comments on commit 7d4f95e

Please sign in to comment.