Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
CyonAlexRDX committed Aug 28, 2024
1 parent f0d4e84 commit c9e465d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/signing/petition_types/petition_entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ impl PetitionEntity {
.collect::<IndexSet<_>>()
}

pub fn all_neglected_factor_instance(&self) -> IndexSet<NeglectedFactorInstance> {
pub fn all_neglected_factor_instances(&self) -> IndexSet<NeglectedFactorInstance> {
self.union_of(|f| f.all_neglected())
}

pub fn all_neglected_factor_sources(&self) -> IndexSet<NeglectedFactor> {
self.all_neglected_factor_instance()
self.all_neglected_factor_instances()
.into_iter()
.map(|n| n.as_neglected_factor())
.collect::<IndexSet<_>>()
Expand Down

0 comments on commit c9e465d

Please sign in to comment.