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 {
5656 }
5757
5858 fn query_with_params ( & self , new_params : IndexMap < String , String > ) -> String {
59- let mut params = self . query ( ) . clone ( ) ;
59+ let mut params = self . query ( ) ;
6060 params. extend ( new_params) ;
6161 let query_string = url:: form_urlencoded:: Serializer :: new ( String :: new ( ) )
6262 . extend_pairs ( params)
Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ impl MockTokenUser {
529529 {
530530 let url = format ! ( "/api/v1/crates/{}/owners" , krate_name) ;
531531 let body = json ! ( { "owners" : owners } ) . to_string ( ) ;
532- method ( & self , & url, body. to_string ( ) . as_bytes ( ) )
532+ method ( & self , & url, body. as_bytes ( ) )
533533 }
534534
535535 /// Add a user as an owner for a crate.
You can’t perform that action at this time.
0 commit comments