diff options
| author | Fuwn <[email protected]> | 2022-04-27 01:04:25 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-27 01:04:25 -0700 |
| commit | c71b06d2ef66ab1805d04d732b916d571f07146a (patch) | |
| tree | cca8b3858ae5e9b58399672a8f63d3285eadf456 /src/route.rs | |
| parent | refactor(macros): simplify stateless! (diff) | |
| download | locus-c71b06d2ef66ab1805d04d732b916d571f07146a.tar.xz locus-c71b06d2ef66ab1805d04d732b916d571f07146a.zip | |
format: unclarify
Diffstat (limited to 'src/route.rs')
| -rw-r--r-- | src/route.rs | 2 |
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); } |