Attempt to fix Ubuntu compat issue.

This commit is contained in:
2018-12-22 10:53:51 +01:00
parent 2f0c8ef2d4
commit a052d3a4fe
2 changed files with 19 additions and 19 deletions

View File

@@ -57,7 +57,7 @@ impl OpCode {
}
}
impl From<&str> for OpCode {
impl<'a> From<&'a str> for OpCode {
fn from(name: &str) -> Self {
match name {
"addr" => OpCode::ADDR,