Skip to content

Commit 2a64cff

Browse files
petrochenkovmehcode
authored andcommitted
Fix syntactic error on nightly Rust (#14)
1 parent 85b1966 commit 2a64cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/job.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct Job<'a> {
1313
pub next_run_at: Option<DateTime<UTC>>,
1414

1515
/// Function to run
16-
function: Box<(FnMut() -> ()) + 'a>,
16+
function: Box<FnMut() + 'a>,
1717
}
1818

1919
impl<'a> Job<'a> {

0 commit comments

Comments
 (0)