Refactoring

This commit is contained in:
2022-03-12 15:39:29 -06:00
parent 90f2177e5b
commit 19eb4d57f3
14 changed files with 444 additions and 22 deletions
+10
View File
@@ -0,0 +1,10 @@
use vcore::opcodes::InvalidOpcode;
#[derive(Debug, PartialEq)]
pub struct ParseError<'a>(pub &'a str);
impl<'a> From<InvalidOpcode> for ParseError<'a> {
fn from(_: InvalidOpcode) -> Self {
Self("Invalid opcode")
}
}