From d7233007c67534abff12d67e320e1387f9f0c8e2 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Sun, 10 Nov 2024 16:10:39 +0100 Subject: [PATCH] Remove unused 'serde-1' attribute --- src/function/index.rs | 2 +- src/unionfind.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/function/index.rs b/src/function/index.rs index a2b95835..83a2ee2c 100644 --- a/src/function/index.rs +++ b/src/function/index.rs @@ -62,7 +62,7 @@ impl ColumnIndex { pub(crate) fn to_canonicalize<'a>( &'a self, uf: &'a UnionFind, - ) -> impl Iterator + '_ { + ) -> impl Iterator + 'a { uf.dirty_ids(self.sort).flat_map(|x| { self.get_indexes_for_bits(x) .unwrap_or(&[]) diff --git a/src/unionfind.rs b/src/unionfind.rs index d6c6819c..37a3a315 100644 --- a/src/unionfind.rs +++ b/src/unionfind.rs @@ -12,7 +12,6 @@ use std::mem; pub type Id = u64; #[derive(Debug, Clone, Default)] -#[cfg_attr(feature = "serde-1", derive(serde::Serialize, serde::Deserialize))] pub struct UnionFind { parents: Vec>, n_unions: usize,