@@ -833,7 +833,7 @@ impl Record {
833833 ///
834834 /// When an error occurs, the `Err` variant will be returned
835835 /// and the iterator will not be able to advance anymore.
836- pub fn aux_iter ( & self ) -> AuxIter {
836+ pub fn aux_iter ( & ' _ self ) -> AuxIter < ' _ > {
837837 AuxIter {
838838 // In order to get to the aux data section of a `bam::Record`
839839 // we need to skip fields in front of it
@@ -1118,14 +1118,14 @@ impl Record {
11181118 /// }
11191119 /// assert_eq!(mod_count, 14);
11201120 /// ```
1121- pub fn basemods_iter ( & self ) -> Result < BaseModificationsIter > {
1121+ pub fn basemods_iter ( & ' _ self ) -> Result < BaseModificationsIter < ' _ > > {
11221122 BaseModificationsIter :: new ( self )
11231123 }
11241124
11251125 /// An iterator that returns all of the modifications for each position as a vector.
11261126 /// This is useful for the case where multiple possible modifications can be annotated
11271127 /// at a single position (for example a C could be 5-mC or 5-hmC)
1128- pub fn basemods_position_iter ( & self ) -> Result < BaseModificationsPositionIter > {
1128+ pub fn basemods_position_iter ( & ' _ self ) -> Result < BaseModificationsPositionIter < ' _ > > {
11291129 BaseModificationsPositionIter :: new ( self )
11301130 }
11311131
@@ -1504,7 +1504,7 @@ where
15041504 }
15051505
15061506 /// Returns an iterator over the array.
1507- pub fn iter ( & self ) -> AuxArrayIter < T > {
1507+ pub fn iter ( & ' _ self ) -> AuxArrayIter < ' _ , T > {
15081508 AuxArrayIter {
15091509 index : 0 ,
15101510 array : self ,
0 commit comments