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

Commit

Permalink
rename -> get_finished_with
Browse files Browse the repository at this point in the history
  • Loading branch information
CyonAlexRDX committed Aug 30, 2024
1 parent 4960f2c commit 790395c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ impl PetitionForFactors {
is_finished_with_fail
}

fn finished_with(&self) -> Option<PetitionFactorsStatusFinished> {
fn get_finished_with(&self) -> Option<PetitionFactorsStatusFinished> {
if self.is_finished_successfully() {
Some(PetitionFactorsStatusFinished::Success)
} else if self.is_finished_with_fail() {
Expand All @@ -181,7 +181,7 @@ impl PetitionForFactors {
}

pub fn status(&self) -> PetitionForFactorsStatus {
if let Some(finished_state) = self.finished_with() {
if let Some(finished_state) = self.get_finished_with() {
return PetitionForFactorsStatus::Finished(finished_state);
}
PetitionForFactorsStatus::InProgress
Expand Down

0 comments on commit 790395c

Please sign in to comment.