File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ fn command() -> Command {
5959
6060fn print_error < B > ( res : ServiceResponse < B > ) -> actix_web:: Result < ErrorHandlerResponse < B > > {
6161 if let Some ( err) = res. response ( ) . error ( ) {
62- log:: error!( "Internal Server Error caused by:\n {:?}" , err ) ;
62+ log:: error!( "Internal Server Error caused by:\n {err :?}" ) ;
6363 }
6464 Ok ( ErrorHandlerResponse :: Response ( res. map_into_left_body ( ) ) )
6565}
@@ -113,7 +113,7 @@ async fn main() -> anyhow::Result<()> {
113113 . configure ( |cfg| server. config ( cfg) )
114114 } ) ;
115115 for listen_address in server_args. listen_addresses {
116- log:: info!( "Serving on {}" , listen_address ) ;
116+ log:: info!( "Serving on {listen_address}" ) ;
117117 http_server = http_server. bind ( listen_address) ?
118118 }
119119 http_server. run ( ) . await ?;
You can’t perform that action at this time.
0 commit comments