diff options
Diffstat (limited to 'src/handler.rs')
| -rw-r--r-- | src/handler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handler.rs b/src/handler.rs index b1e6afe..7e297f8 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -27,4 +27,4 @@ pub type Callback = Box< + Send + Sync, >; -pub type Partial = fn(RouteContext<'_>) -> String; +pub type Partial = Box<dyn FnMut(RouteContext<'_>) -> String + Send + Sync>; |