Skip to content

Commit 25511df

Browse files
authored
Fix order of template arguments in Handler documentation example (#3566)
Fix order of template arguments in doc
1 parent 6e902d1 commit 25511df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actix-web/src/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ use crate::{
7070
/// This is the source code for the 2-parameter implementation of `Handler` to help illustrate the
7171
/// bounds of the handler call after argument extraction:
7272
/// ```ignore
73-
/// impl<Func, Arg1, Arg2, Fut> Handler<(Arg1, Arg2)> for Func
73+
/// impl<Func, Fut, Arg1, Arg2> Handler<(Arg1, Arg2)> for Func
7474
/// where
7575
/// Func: Fn(Arg1, Arg2) -> Fut + Clone + 'static,
7676
/// Fut: Future,

0 commit comments

Comments
 (0)