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,