From 3026e341f871ffdaa7b6a69703ca63eef2b67fd7 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 3 Apr 2023 03:05:27 +0000 Subject: refactor(returnable): seperate contexts --- src/router.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/router.rs') diff --git a/src/router.rs b/src/router.rs index 5c1fcfa..0862513 100644 --- a/src/router.rs +++ b/src/router.rs @@ -38,7 +38,7 @@ use crate::{ }, module::Module, response::Response, - returnable::{CallbackContext, ErrorContext, RouteContext}, + context::{CallbackContext, ErrorContext, RouteContext}, }; macro_rules! or_error { @@ -653,7 +653,7 @@ impl Router { /// /// ```rust /// use log::info; - /// use windmark::{returnable::CallbackContext, Response, Router}; + /// use windmark::{context::CallbackContext, Response, Router}; /// /// #[derive(Default)] /// struct Clicker { -- cgit v1.2.3