@@ -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 ) ?
@@ -1253,7 +1252,7 @@ impl<'a> AuthenticatedApi<'a> {
12531252 loop {
12541253 requests_no += 1 ;
12551254
1256- let resp = self . get ( & format ! ( "{}cursor={}" , url , QueryArg ( & cursor) ) ) ?;
1255+ let resp = self . get ( & format ! ( "{url }cursor={}" , QueryArg ( & cursor) ) ) ?;
12571256
12581257 if resp. status ( ) == 404 || ( resp. status ( ) == 400 && !cursor. is_empty ( ) ) {
12591258 if rv. is_empty ( ) {
@@ -1934,7 +1933,7 @@ fn log_headers(is_response: bool, data: &[u8]) {
19341933 } else {
19351934 format ! ( "{}***" , & caps[ 3 ] [ ..std:: cmp:: min( caps[ 3 ] . len( ) , 8 ) ] )
19361935 } ;
1937- format ! ( "{}: {} {}" , & caps[ 1 ] , & caps[ 2 ] , info )
1936+ format ! ( "{}: {} {info }" , & caps[ 1 ] , & caps[ 2 ] )
19381937 } ) ;
19391938 debug ! ( "{} {}" , if is_response { ">" } else { "<" } , replaced) ;
19401939 }
0 commit comments