File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub(crate) struct SingleDownloader<'a> {
4141 timeout : Duration ,
4242}
4343
44- impl < ' a > SingleDownloader < ' a > {
44+ impl SingleDownloader < ' _ > {
4545 pub ( crate ) async fn try_download < F , Fut > (
4646 self ,
4747 global_progress : & AtomicU64 ,
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ pub struct Summary {
207207 pub context : Option < String > ,
208208}
209209
210- impl < ' a > DownloadManager < ' a > {
210+ impl DownloadManager < ' _ > {
211211 /// Start download
212212 pub async fn start_download < F , Fut > ( & self , callback : F ) -> Vec < DownloadResult < Summary > >
213213 where
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ impl<'a> OmaRefresh<'a> {
458458 Ok ( ( ) )
459459 }
460460
461- async fn get_release_file < ' b , F , Fut > (
461+ async fn get_release_file < F , Fut > (
462462 & self ,
463463 entry : & MirrorSource < ' _ > ,
464464 replacer : & DatabaseFilenameReplacer ,
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ impl<'a> TopicManager<'a> {
195195
196196 let index = self
197197 . available_topics ( )
198- . find ( |x| x. name . to_ascii_lowercase ( ) == topic. to_ascii_lowercase ( ) ) ;
198+ . find ( |x| x. name . eq_ignore_ascii_case ( topic) ) ;
199199
200200 let enabled_names = self . enabled . iter ( ) . map ( |x| & x. name ) . collect :: < Vec < _ > > ( ) ;
201201
@@ -219,7 +219,7 @@ impl<'a> TopicManager<'a> {
219219 let index = self
220220 . enabled
221221 . iter ( )
222- . position ( |x| x. name . to_ascii_lowercase ( ) == topic. to_ascii_lowercase ( ) ) ;
222+ . position ( |x| x. name . eq_ignore_ascii_case ( topic) ) ;
223223
224224 debug ! ( "oma will opt_out: {}" , topic) ;
225225 debug ! ( "index is: {index:?}" ) ;
You can’t perform that action at this time.
0 commit comments