aboutsummaryrefslogtreecommitdiff
path: root/src/route.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/route.rs')
-rw-r--r--src/route.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/route.rs b/src/route.rs
index 2da2cbb..dce4145 100644
--- a/src/route.rs
+++ b/src/route.rs
@@ -57,7 +57,6 @@ pub fn track_mount(
router.mount(route, handler);
}
-#[allow(unused)]
pub fn cache(context: &windmark::returnable::RouteContext<'_>, response: &str) {
static LAST_CACHED: SyncLazy<Mutex<Instant>> =
SyncLazy::new(|| Mutex::new(Instant::now()));