Skip to content

Commit

Permalink
Remove unused 'serde-1' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Nov 10, 2024
1 parent 2c8d947 commit d723300
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/function/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl ColumnIndex {
pub(crate) fn to_canonicalize<'a>(
&'a self,
uf: &'a UnionFind,
) -> impl Iterator<Item = usize> + '_ {
) -> impl Iterator<Item = usize> + 'a {
uf.dirty_ids(self.sort).flat_map(|x| {
self.get_indexes_for_bits(x)
.unwrap_or(&[])
Expand Down
1 change: 0 additions & 1 deletion src/unionfind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Cell<Id>>,
n_unions: usize,
Expand Down

0 comments on commit d723300

Please sign in to comment.