From 5c25fd6a583bfd8e71185e9271e07ad509801757 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Tue, 20 Feb 2024 07:15:49 -0500 Subject: [PATCH] Clippy fix --- limitador-server/src/envoy_rls/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limitador-server/src/envoy_rls/server.rs b/limitador-server/src/envoy_rls/server.rs index 68394583..8f3eaad1 100644 --- a/limitador-server/src/envoy_rls/server.rs +++ b/limitador-server/src/envoy_rls/server.rs @@ -138,7 +138,7 @@ impl RateLimitService for MyRateLimiter { pub fn to_response_header( rate_limit_headers: &RateLimitHeaders, - counters: &mut Vec, + counters: &mut [Counter], ) -> Vec { let mut headers = Vec::new(); match rate_limit_headers {