diff --git a/src/linux/mod.rs b/src/linux/mod.rs index b104ac4..ccb0f51 100644 --- a/src/linux/mod.rs +++ b/src/linux/mod.rs @@ -55,10 +55,6 @@ impl<'a> SegmentTrait for Segment<'a> { } } - fn id(&self) -> Option { - None - } - #[inline] fn stated_virtual_memory_address(&self) -> Svma { Svma(unsafe { @@ -153,6 +149,11 @@ impl<'a> SharedLibraryTrait for SharedLibrary<'a> { self.name } + #[inline] + fn id(&self) -> Option { + None + } + #[inline] fn segments(&self) -> Self::SegmentIter { SegmentIter { inner: self.headers.iter() }