No clone according to clippy
This commit is contained in:
parent
9644aa9b95
commit
11a0b8a06f
|
@ -68,7 +68,7 @@ impl Object {
|
|||
#[getter]
|
||||
fn name(&self) -> Option<&str> {
|
||||
match self.inner.as_ref().unwrap() {
|
||||
goblin::Object::Mach(Mach::Binary(macho)) => macho.name.clone(),
|
||||
goblin::Object::Mach(Mach::Binary(macho)) => macho.name,
|
||||
_ => unimplemented!(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue