From 2cd27f594b84cd996041dbda2c8723332f4447d1 Mon Sep 17 00:00:00 2001 From: Adam Gutglick Date: Thu, 8 Aug 2024 13:30:29 +0100 Subject: [PATCH] . --- vortex-serde/src/layouts/reader/projections.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vortex-serde/src/layouts/reader/projections.rs b/vortex-serde/src/layouts/reader/projections.rs index 0e2edf7564..7b45f1166d 100644 --- a/vortex-serde/src/layouts/reader/projections.rs +++ b/vortex-serde/src/layouts/reader/projections.rs @@ -9,13 +9,6 @@ impl Projection { pub fn new(indices: impl AsRef<[usize]>) -> Self { Self::Partial(Vec::from(indices.as_ref())) } - - pub fn contains_idx(&self, idx: usize) -> bool { - match self { - Projection::All => true, - Projection::Partial(idxs) => idxs.contains(&idx), - } - } } impl From> for Projection {