mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 15:38:48 +00:00
Fix hw1 fuzzer again
This commit is contained in:
@@ -120,6 +120,7 @@ impl WriteLine for (&BlockId, &Block) {
|
||||
impl WriteString for Instruction {
|
||||
fn write_string(&self) -> String {
|
||||
match self {
|
||||
Instruction::Nop => "nop".into(),
|
||||
Instruction::BinOp { op, lhs, rhs, .. } => format!(
|
||||
"{} {} {}",
|
||||
op.write_operation(),
|
||||
|
||||
Reference in New Issue
Block a user