chore: fix clippy warnings for needless_borrows_for_generic_args (#9387)

This commit is contained in:
Federico Gimenez
2024-07-09 11:47:14 +02:00
committed by GitHub
parent 9c0bc8477a
commit 38f4c6118c
2 changed files with 2 additions and 2 deletions

View File

@ -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")