diff --git a/crates/goblin-pyo3/src/lib.rs b/crates/goblin-pyo3/src/lib.rs index a1a9974..f36ee7b 100644 --- a/crates/goblin-pyo3/src/lib.rs +++ b/crates/goblin-pyo3/src/lib.rs @@ -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!(), } }