Skip to content

Commit

Permalink
Merge branch 'mike1703-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDex committed Dec 10, 2022
2 parents 5b51f3d + deb9008 commit cd6f1ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub use uuid::Uuid;
/// A schedulable `Job`.
pub struct Job<'a> {
schedule: Schedule,
run: Box<dyn (FnMut()) + Send + Sync + 'a>,
run: Box<dyn (FnMut()) + Send + 'a>,
last_tick: Option<DateTime<Utc>>,
limit_missed_runs: usize,
job_id: Uuid,
Expand All @@ -85,7 +85,7 @@ impl<'a> Job<'a> {
where
T: 'a,
T: FnMut(),
T: FnMut() + Send + Sync,
T: FnMut() + Send,
{
Job {
schedule,
Expand Down

0 comments on commit cd6f1ce

Please sign in to comment.