aboutsummaryrefslogtreecommitdiff
path: root/src/handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handler.rs')
-rw-r--r--src/handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handler.rs b/src/handler.rs
index bd64f03..3429f3b 100644
--- a/src/handler.rs
+++ b/src/handler.rs
@@ -28,5 +28,5 @@ pub type ErrorResponse =
Box<dyn FnMut(returnable::ErrorContext<'_>) -> Response + Send + Sync>;
pub type Callback = Box<dyn FnMut(CallbackContext<'_>) + Send + Sync>;
pub type CleanupCallback =
- Box<dyn FnMut(CallbackContext<'_>, &mut String) + Send + Sync>;
+ Box<dyn FnMut(CallbackContext<'_>, &mut Response) + Send + Sync>;
pub type Partial = Box<dyn FnMut(RouteContext<'_>) -> String + Send + Sync>;