Skip to content

Commit

Permalink
fixup: drop duplicated bound
Browse files Browse the repository at this point in the history
  • Loading branch information
tanriol committed Jun 30, 2020
1 parent 47ba502 commit 4c287ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gotham/src/router/builder/single.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub trait AsyncHandlerFn<'a> {
fn call(self, arg: &'a mut State) -> Self::Fut;
}

impl<'a, D: 'a, R, F> AsyncHandlerFn<'a> for F
impl<'a, D, R, F> AsyncHandlerFn<'a> for F
where
F: FnOnce(&'a mut State) -> D,
R: IntoResponse + 'static,
Expand Down

0 comments on commit 4c287ab

Please sign in to comment.