From 5d7416bf32f810f78e8a641742e8f59627c336de Mon Sep 17 00:00:00 2001 From: evenyag Date: Wed, 15 May 2024 22:10:59 +0800 Subject: [PATCH] style: fix clippy --- src/store-api/src/region_engine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store-api/src/region_engine.rs b/src/store-api/src/region_engine.rs index 115d0b9449ab..6ed2674a4f1d 100644 --- a/src/store-api/src/region_engine.rs +++ b/src/store-api/src/region_engine.rs @@ -282,7 +282,7 @@ impl RegionScanner for SinglePartitionScanner { stream .take() .context(ExecuteRepeatedlySnafu) - .map_err(|e| BoxedError::new(e)) + .map_err(BoxedError::new) } }