Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Feb 14, 2025
1 parent a03bdb3 commit 5fe50d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jobs/prune_job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub struct PruneJobInstance {
}

impl PruneJobInstance {
#[allow(clippy::new_ret_no_self)]
pub fn new(job: Job) -> Box<dyn JobInstance> {
match serde_json::from_str::<PruneJob>(&job.contents) {
Ok(_) => Box::new(PruneJobInstance { job }),
Expand Down

0 comments on commit 5fe50d3

Please sign in to comment.