aboutsummaryrefslogtreecommitdiff
path: root/src/route.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-27 01:04:25 -0700
committerFuwn <[email protected]>2022-04-27 01:04:25 -0700
commitc71b06d2ef66ab1805d04d732b916d571f07146a (patch)
treecca8b3858ae5e9b58399672a8f63d3285eadf456 /src/route.rs
parentrefactor(macros): simplify stateless! (diff)
downloadlocus-c71b06d2ef66ab1805d04d732b916d571f07146a.tar.xz
locus-c71b06d2ef66ab1805d04d732b916d571f07146a.zip
format: unclarify
Diffstat (limited to 'src/route.rs')
-rw-r--r--src/route.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/route.rs b/src/route.rs
index e3d926f..e603513 100644
--- a/src/route.rs
+++ b/src/route.rs
@@ -57,7 +57,7 @@ pub fn track_mount(
description: &str,
handler: windmark::handler::RouteResponse,
) {
- (*crate::ROUTES.lock().unwrap())
+ (*ROUTES.lock().unwrap())
.insert(route.to_string(), Route::new(description));
router.mount(route, handler);
}