Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Nov 7, 2023
1 parent f17a8da commit 5ade2c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pallets/jobs/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ impl<T: Config> Pallet<T> {
None
};

/// If the job type is in the phase one.
/// If it is, adjusts the participants and threshold accordingly.
/// Ensures that the threshold is not zero after adjustment.
// If the job type is in the phase one.
// If it is, adjusts the participants and threshold accordingly.
// Ensures that the threshold is not zero after adjustment.
if job_info.job_type.is_phase_one() {
let participants = job_info.job_type.clone().get_participants().unwrap();
let mut threshold = job_info.job_type.clone().get_threshold().unwrap();
Expand Down

0 comments on commit 5ade2c2

Please sign in to comment.