@@ -75,7 +75,7 @@ pub async fn movie_tracking(context: ContextPointer) -> Result<(), HttpErrorKind
7575 if let Some ( movie) = movie {
7676 let movie_name = movie. format ( ) ;
7777
78- info ! ( "Importing \" {} \" as \" {} \" " , name , movie_name ) ;
78+ info ! ( "Importing {name:?} as {movie_name:?}" ) ;
7979
8080 let remote_path = torrent. get_content_path ( ) ;
8181
@@ -107,10 +107,10 @@ pub async fn movie_tracking(context: ContextPointer) -> Result<(), HttpErrorKind
107107 . await ?;
108108 }
109109 } else {
110- warn ! ( "No movie found for TMDB id: {}" , tmdb ) ;
110+ warn ! ( "No movie found for TMDB id: {tmdb}" ) ;
111111 }
112112 } else {
113- warn ! ( "No TMDB id found for {}" , name ) ;
113+ warn ! ( "No TMDB id found for {name}" ) ;
114114 }
115115 }
116116 }
@@ -123,13 +123,10 @@ pub async fn movie_tracking(context: ContextPointer) -> Result<(), HttpErrorKind
123123 min_eta = * timeout_inactive;
124124 info ! ( "No active torrents" )
125125 } else {
126- info ! (
127- "Watching {}/{} torrents" ,
128- active_torrents, watching_torrents
129- )
126+ info ! ( "Watching {active_torrents}/{watching_torrents} torrents" )
130127 }
131128
132- info ! ( "Waiting: {}s" , min_eta ) ;
129+ info ! ( "Waiting: {min_eta }s" ) ;
133130 sleep ( Duration :: from_secs ( min_eta as u64 ) ) . await ;
134131 }
135132}
0 commit comments