mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 05:10:32 +01:00
Attempt to fix Ubuntu compat issue.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user