aboutsummaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-06 01:53:22 -0700
committerFuwn <[email protected]>2023-04-06 01:53:22 -0700
commit9235be2eedc2c4f3a78cb704b0a107f33607e530 (patch)
treefc927ec6d5a58d2e995cf6ff80ae2804a2265531 /src/macros.rs
parentdeps(windmark): bump 0.2.5 -> 0.3.1 (diff)
downloadlocus-9235be2eedc2c4f3a78cb704b0a107f33607e530.tar.xz
locus-9235be2eedc2c4f3a78cb704b0a107f33607e530.zip
feat: native async reqwest calls
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.rs b/src/macros.rs
index 538af8e..30cb7a5 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -63,7 +63,7 @@ macro_rules! mount_page {
(*$crate::route::ROUTES.lock().unwrap())
.insert($at.to_string(), $crate::route::Route::new($description));
- ($router).mount($at, |context: ::windmark::context::RouteContext<'_>| {
+ ($router).mount($at, |context: ::windmark::context::RouteContext| {
let content =
include_str!(concat!("../../content/static/", $file, ".gmi"));