Merge pull request #88 from sphinxc0re/patch-1

Fixed typo
This commit is contained in:
Sergey Pepyakin
2018-06-11 16:55:26 +03:00
committed by GitHub
+1 -1
View File
@@ -62,7 +62,7 @@ impl ::std::str::FromStr for InstructionType {
"reinterpret" => Ok(InstructionType::Reinterpretation), "reinterpret" => Ok(InstructionType::Reinterpretation),
"unreachable" => Ok(InstructionType::Unreachable), "unreachable" => Ok(InstructionType::Unreachable),
"nop" => Ok(InstructionType::Nop), "nop" => Ok(InstructionType::Nop),
"currrent_mem" => Ok(InstructionType::CurrentMemory), "current_mem" => Ok(InstructionType::CurrentMemory),
"grow_mem" => Ok(InstructionType::GrowMemory), "grow_mem" => Ok(InstructionType::GrowMemory),
_ => Err(UnknownInstruction), _ => Err(UnknownInstruction),
} }