From 3966e07d2e3ebf4acd9730d885ea9bbb8dcdc9a8 Mon Sep 17 00:00:00 2001 From: Hesam Pakdaman Date: Mon, 27 May 2024 21:51:22 +0200 Subject: [PATCH] Fix clippy::use_self --- object_store/src/client/retry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object_store/src/client/retry.rs b/object_store/src/client/retry.rs index 729d2463964b..b0c3c342cbf4 100644 --- a/object_store/src/client/retry.rs +++ b/object_store/src/client/retry.rs @@ -143,7 +143,7 @@ pub struct RequestContext { impl Default for RequestContext { fn default() -> Self { - RequestContext { + Self { config: RetryConfig::default(), semaphore: Arc::new(Semaphore::new(5)), }