From 15187a015555f67e1fd00cd65be89571f2e80c43 Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Mon, 6 Jan 2025 10:39:09 +1100 Subject: [PATCH] fix: `clippy::useless_conversion` lint --- CHANGELOG.md | 1 + zarrs/src/array/chunk_grid/rectangular.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30580218..ef582117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Cleanup unnecessary lifetime constraints in partial decoders +- Fix `clippy::useless_conversion` lint ## [0.18.3] - 2024-12-30 diff --git a/zarrs/src/array/chunk_grid/rectangular.rs b/zarrs/src/array/chunk_grid/rectangular.rs index 3cef4628..05733fb5 100644 --- a/zarrs/src/array/chunk_grid/rectangular.rs +++ b/zarrs/src/array/chunk_grid/rectangular.rs @@ -185,7 +185,6 @@ impl ChunkGridTraits for RectangularChunkGrid { } }) .collect::>>() - .map(std::convert::Into::into) } unsafe fn chunk_origin_unchecked(