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 {