4747//! # }
4848//! ```
4949
50- use chrono:: { offset:: Utc , DateTime } ;
50+ use chrono:: { DateTime , offset:: Utc } ;
5151use futures_io:: AsyncRead ;
5252use log:: { error, warn} ;
5353use std:: future:: Future ;
@@ -845,7 +845,7 @@ where
845845 pub async fn fetch_target (
846846 & mut self ,
847847 target : & TargetPath ,
848- ) -> Result < impl AsyncRead + Send + Unpin + ' _ > {
848+ ) -> Result < impl AsyncRead + Send + Unpin + ' _ + use < ' _ , D , L , R > > {
849849 self . fetch_target_with_start_time ( target, & Utc :: now ( ) ) . await
850850 }
851851
@@ -858,7 +858,7 @@ where
858858 & mut self ,
859859 target : & TargetPath ,
860860 start_time : & DateTime < Utc > ,
861- ) -> Result < impl AsyncRead + Send + Unpin + ' _ > {
861+ ) -> Result < impl AsyncRead + Send + Unpin + ' _ + use < ' _ , D , L , R > > {
862862 let target_description = self
863863 . fetch_target_description_with_start_time ( target, start_time)
864864 . await ?;
@@ -1304,7 +1304,7 @@ mod test {
13041304 use crate :: pouf:: Pouf1 ;
13051305 use crate :: repo_builder:: RepoBuilder ;
13061306 use crate :: repository:: {
1307- fetch_metadata_to_string , EphemeralRepository , ErrorRepository , Track , TrackRepository ,
1307+ EphemeralRepository , ErrorRepository , Track , TrackRepository , fetch_metadata_to_string ,
13081308 } ;
13091309 use assert_matches:: assert_matches;
13101310 use chrono:: prelude:: * ;
0 commit comments