Skip to content

Commit

Permalink
chore: fix clippy warnings for needless_borrows_for_generic_args (#9387)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez authored Jul 9, 2024
1 parent 9c0bc84 commit 38f4c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/e2e-test-utils/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl Wallet {
let mut wallets = Vec::with_capacity(self.amount);
for idx in 0..self.amount {
let builder =
builder.clone().derivation_path(&format!("{derivation_path}{idx}")).unwrap();
builder.clone().derivation_path(format!("{derivation_path}{idx}")).unwrap();
let wallet = builder.build().unwrap().with_chain_id(Some(self.chain_id));
wallets.push(wallet)
}
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc/rpc-layer/src/auth_layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ mod tests {

let body = r#"{"jsonrpc": "2.0", "method": "greet_melkor", "params": [], "id": 1}"#;
let response = client
.post(&format!("http://{AUTH_ADDR}:{AUTH_PORT}"))
.post(format!("http://{AUTH_ADDR}:{AUTH_PORT}"))
.bearer_auth(jwt.unwrap_or_default())
.body(body)
.header(header::CONTENT_TYPE, "application/json")
Expand Down

0 comments on commit 38f4c61

Please sign in to comment.