willothy / worth

Found redundant field name in initializer RS-W1026
Anti-pattern
Minor
a year agoa year old
Simplify loc: loc to use equivalent shorthand syntax: loc
 59                    kind: InstructionKind::Push(Value::Str(
 60                        loc.0.clone() + ":" + &loc.1.to_string() + ":" + &loc.2.to_string(),
 61                    )),
 62                    loc: loc, 63                    ip: instruction.ip,
 64                };
 65            }