From 8322c0dede422e879bc176feb64be53e5a8688a6 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Thu, 4 Nov 2021 10:49:57 -0700 Subject: [PATCH] chore: lint (clippy) with 1.55.0 toolchain --- .github/workflows/lint.yml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2e6d400..5970fce 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - rust: [ '1.52.1' ] + rust: [ '1.52.1', '1.55.0' ] os: [ ubuntu-latest ] steps: diff --git a/src/main.rs b/src/main.rs index a365abf..2f3cd8d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -411,7 +411,7 @@ async fn forward_api( request: Request, replica_url: &str, ) -> Result, Box> { - let proxied_request = create_proxied_request(ip_addr, &replica_url, request)?; + let proxied_request = create_proxied_request(ip_addr, replica_url, request)?; let client = Client::builder().build(hyper_tls::HttpsConnector::new()); let response = client.request(proxied_request).await?;