File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl ::std::convert::From<IntoStringError> for Error {
121
121
use crate :: fitsfile:: FitsFile ;
122
122
type PoisonError < ' a > = sync:: PoisonError < sync:: MutexGuard < ' a , FitsFile > > ;
123
123
124
- impl < ' a > :: std:: convert:: From < PoisonError < ' a > > for Error {
124
+ impl :: std:: convert:: From < PoisonError < ' _ > > for Error {
125
125
fn from ( _e : PoisonError ) -> Self {
126
126
Error :: UnlockError
127
127
}
Original file line number Diff line number Diff line change @@ -960,7 +960,7 @@ pub struct FitsHduIterator<'a> {
960
960
pub ( crate ) fits_file : & ' a mut FitsFile ,
961
961
}
962
962
963
- impl < ' a > Iterator for FitsHduIterator < ' a > {
963
+ impl Iterator for FitsHduIterator < ' _ > {
964
964
type Item = FitsHdu ;
965
965
966
966
fn next ( & mut self ) -> Option < Self :: Item > {
@@ -1002,7 +1002,7 @@ impl DescribesHdu for usize {
1002
1002
}
1003
1003
}
1004
1004
1005
- impl < ' a > DescribesHdu for & ' a str {
1005
+ impl DescribesHdu for & ' _ str {
1006
1006
fn change_hdu ( & self , f : & mut FitsFile ) -> Result < ( ) > {
1007
1007
let mut status = 0 ;
1008
1008
let c_hdu_name = ffi:: CString :: new ( * self ) ?;
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ impl WritesKey for String {
287
287
}
288
288
}
289
289
290
- impl < ' a > WritesKey for & ' a str {
290
+ impl WritesKey for & ' _ str {
291
291
fn write_key ( f : & mut FitsFile , name : & str , value : Self ) -> Result < ( ) > {
292
292
let c_name = ffi:: CString :: new ( name) ?;
293
293
let c_value = ffi:: CString :: new ( value) ?;
Original file line number Diff line number Diff line change @@ -772,7 +772,7 @@ impl DescribesColumnLocation for usize {
772
772
}
773
773
}
774
774
775
- impl < ' a > DescribesColumnLocation for & ' a str {
775
+ impl DescribesColumnLocation for & ' _ str {
776
776
fn get_column_no ( & self , hdu : & FitsHdu , fits_file : & mut FitsFile ) -> Result < i32 > {
777
777
match hdu. get_column_no ( fits_file, * self ) {
778
778
Ok ( value) => Ok ( value as _ ) ,
@@ -849,7 +849,7 @@ impl<'a> ColumnIterator<'a> {
849
849
}
850
850
}
851
851
852
- impl < ' a > Iterator for ColumnIterator < ' a > {
852
+ impl Iterator for ColumnIterator < ' _ > {
853
853
type Item = Column ;
854
854
855
855
fn next ( & mut self ) -> Option < Self :: Item > {
You can’t perform that action at this time.
0 commit comments