Skip to content

Commit

Permalink
fix: Remove redundant clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsan committed Nov 12, 2023
1 parent 0d4f3b9 commit 79e0400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl NextAction {
match self.0 {
Some((_, cur_date)) if date >= cur_date => {}
_ => {
self.0 = Some((name.clone().to_owned(), date));
self.0 = Some((name.to_owned(), date));
}
}
}
Expand Down

0 comments on commit 79e0400

Please sign in to comment.