From d971186326a6300bad86d94ff1e973c4ca3603da Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 27 Mar 2022 11:26:47 +0000 Subject: feat(handler): fnmut partial --- src/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handler.rs') 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) -> String + Send + Sync>; -- cgit v1.2.3