File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ mod prelude {
56
56
}
57
57
58
58
fn query_with_params ( & self , new_params : IndexMap < String , String > ) -> String {
59
- let mut params = self . query ( ) . clone ( ) ;
59
+ let mut params = self . query ( ) ;
60
60
params. extend ( new_params) ;
61
61
let query_string = url:: form_urlencoded:: Serializer :: new ( String :: new ( ) )
62
62
. extend_pairs ( params)
Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ impl MockTokenUser {
529
529
{
530
530
let url = format ! ( "/api/v1/crates/{}/owners" , krate_name) ;
531
531
let body = json ! ( { "owners" : owners } ) . to_string ( ) ;
532
- method ( & self , & url, body. to_string ( ) . as_bytes ( ) )
532
+ method ( & self , & url, body. as_bytes ( ) )
533
533
}
534
534
535
535
/// Add a user as an owner for a crate.
You can’t perform that action at this time.
0 commit comments