@@ -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
@@ -1272,14 +1272,14 @@ impl Record {
12721272 /// }
12731273 /// assert_eq!(mod_count, 14);
12741274 /// ```
1275- pub fn basemods_iter ( & self ) -> Result < BaseModificationsIter < ' _ > > {
1275+ pub fn basemods_iter ( & ' _ self ) -> Result < BaseModificationsIter < ' _ > > {
12761276 BaseModificationsIter :: new ( self )
12771277 }
12781278
12791279 /// An iterator that returns all of the modifications for each position as a vector.
12801280 /// This is useful for the case where multiple possible modifications can be annotated
12811281 /// at a single position (for example a C could be 5-mC or 5-hmC)
1282- pub fn basemods_position_iter ( & self ) -> Result < BaseModificationsPositionIter < ' _ > > {
1282+ pub fn basemods_position_iter ( & ' _ self ) -> Result < BaseModificationsPositionIter < ' _ > > {
12831283 BaseModificationsPositionIter :: new ( self )
12841284 }
12851285
@@ -1658,7 +1658,7 @@ where
16581658 }
16591659
16601660 /// Returns an iterator over the array.
1661- pub fn iter ( & self ) -> AuxArrayIter < ' _ , T > {
1661+ pub fn iter ( & ' _ self ) -> AuxArrayIter < ' _ , T > {
16621662 AuxArrayIter {
16631663 index : 0 ,
16641664 array : self ,
0 commit comments