@@ -117,7 +117,7 @@ impl<'a> MachO<'a> {
117117 /// Return a vector of the relocations in this binary
118118 pub fn relocations (
119119 & self ,
120- ) -> error:: Result < Vec < ( usize , segment:: RelocationIterator , segment:: Section ) > > {
120+ ) -> error:: Result < Vec < ( usize , segment:: RelocationIterator < ' _ > , segment:: Section ) > > {
121121 debug ! ( "Iterating relocations" ) ;
122122 let mut relocs = Vec :: new ( ) ;
123123 for ( _i, segment) in ( & self . segments ) . into_iter ( ) . enumerate ( ) {
@@ -131,15 +131,15 @@ impl<'a> MachO<'a> {
131131 Ok ( relocs)
132132 }
133133 /// Return the exported symbols in this binary (if any)
134- pub fn exports ( & self ) -> error:: Result < Vec < exports:: Export > > {
134+ pub fn exports ( & self ) -> error:: Result < Vec < exports:: Export < ' _ > > > {
135135 if let Some ( ref trie) = self . export_trie {
136136 trie. exports ( self . libs . as_slice ( ) )
137137 } else {
138138 Ok ( vec ! [ ] )
139139 }
140140 }
141141 /// Return the imported symbols in this binary that dyld knows about (if any)
142- pub fn imports ( & self ) -> error:: Result < Vec < imports:: Import > > {
142+ pub fn imports ( & self ) -> error:: Result < Vec < imports:: Import < ' _ > > > {
143143 if let Some ( ref interpreter) = self . bind_interpreter {
144144 interpreter. imports ( self . libs . as_slice ( ) , self . segments . as_slice ( ) , self . ctx )
145145 } else {
@@ -391,7 +391,7 @@ pub fn peek_bytes(bytes: &[u8; 16]) -> error::Result<crate::Hint> {
391391 }
392392}
393393
394- fn extract_multi_entry ( bytes : & [ u8 ] ) -> error:: Result < SingleArch > {
394+ fn extract_multi_entry ( bytes : & [ u8 ] ) -> error:: Result < SingleArch < ' _ > > {
395395 if let Some ( hint_bytes) = take_hint_bytes ( bytes) {
396396 match peek_bytes ( hint_bytes) ? {
397397 crate :: Hint :: Mach ( _) => {
@@ -455,7 +455,7 @@ impl<'a> MultiArch<'a> {
455455 } )
456456 }
457457 /// Iterate every fat arch header
458- pub fn iter_arches ( & self ) -> FatArchIterator {
458+ pub fn iter_arches ( & self ) -> FatArchIterator < ' _ > {
459459 FatArchIterator {
460460 index : 0 ,
461461 data : self . data ,
0 commit comments