We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaae192 commit 373c1d4Copy full SHA for 373c1d4
src/decoder.rs
@@ -38,7 +38,7 @@ use crate::instruction::*;
38
/// Represents an instruction decoder that maintains a state.
39
/// Its main use case is to decode instructions progressively
40
/// byte by byte, when a data source cannot implement `Read`.
41
-#[derive(Default)]
+#[derive(Clone, Debug, Default)]
42
pub struct InstructionDecoder {
43
received_bytes: Vec<u8>,
44
}
0 commit comments