@@ -329,7 +329,7 @@ impl Api {
329329 _ => ARCH ,
330330 } ;
331331
332- let ref_name = format ! ( "sentry-cli-{}-{}{ }" , capitalize_string( PLATFORM ) , arch , EXT ) ;
332+ let ref_name = format ! ( "sentry-cli-{}-{arch}{EXT }" , capitalize_string( PLATFORM ) ) ;
333333 info ! ( "Looking for file named: {}" , ref_name) ;
334334
335335 if resp. status ( ) == 200 {
@@ -894,10 +894,9 @@ impl<'a> AuthenticatedApi<'a> {
894894 } ;
895895 self . put (
896896 & format ! (
897- "/projects/{}/{}/issues/?{}" ,
897+ "/projects/{}/{}/issues/?{qs }" ,
898898 PathArg ( org) ,
899- PathArg ( project) ,
900- qs
899+ PathArg ( project)
901900 ) ,
902901 changes,
903902 ) ?
@@ -1252,7 +1251,7 @@ impl<'a> AuthenticatedApi<'a> {
12521251 loop {
12531252 requests_no += 1 ;
12541253
1255- let resp = self . get ( & format ! ( "{}cursor={}" , url , QueryArg ( & cursor) ) ) ?;
1254+ let resp = self . get ( & format ! ( "{url }cursor={}" , QueryArg ( & cursor) ) ) ?;
12561255
12571256 if resp. status ( ) == 404 || ( resp. status ( ) == 400 && !cursor. is_empty ( ) ) {
12581257 if rv. is_empty ( ) {
@@ -1933,7 +1932,7 @@ fn log_headers(is_response: bool, data: &[u8]) {
19331932 } else {
19341933 format ! ( "{}***" , & caps[ 3 ] [ ..std:: cmp:: min( caps[ 3 ] . len( ) , 8 ) ] )
19351934 } ;
1936- format ! ( "{}: {} {}" , & caps[ 1 ] , & caps[ 2 ] , info )
1935+ format ! ( "{}: {} {info }" , & caps[ 1 ] , & caps[ 2 ] )
19371936 } ) ;
19381937 debug ! ( "{} {}" , if is_response { ">" } else { "<" } , replaced) ;
19391938 }
0 commit comments