Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
byeongkeunahn committed Jun 6, 2024
1 parent 2761395 commit b3af3b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basm-std/src/collections/union_find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl RemUnionFind {

/// Alias for `connected_component_count`.
pub fn cc_count(&self) -> usize {
Self::connected_component_count(&self)
self.connected_component_count()
}

/// Returns the number of connected components.
Expand Down Expand Up @@ -113,7 +113,7 @@ impl UnionFind {

/// Alias for `connected_component_count`.
pub fn cc_count(&self) -> usize {
Self::connected_component_count(&self)
self.connected_component_count()
}

/// Returns the number of connected components.
Expand Down

0 comments on commit b3af3b2

Please sign in to comment.