diff options
| author | Fuwn <[email protected]> | 2022-04-20 00:08:45 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-20 00:08:45 -0700 |
| commit | f555391d27b2ed283b600b07ff303e8e24dec069 (patch) | |
| tree | 3970a1926d1c62bcf641dc6f28cd3e17f8d402c4 /src/macros.rs | |
| parent | refactor(macros): crate batch mount file macro (diff) | |
| download | locus-f555391d27b2ed283b600b07ff303e8e24dec069.tar.xz locus-f555391d27b2ed283b600b07ff303e8e24dec069.zip | |
fix(macros): rename macro to page
Diffstat (limited to 'src/macros.rs')
| -rw-r--r-- | src/macros.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.rs b/src/macros.rs index 7d7761f..ce2c403 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -84,7 +84,7 @@ macro_rules! mount_file { } #[macro_export] -macro_rules! batch_mount_file { +macro_rules! batch_mount_page { ($router:ident,$(($path:literal, $description:literal, $file:literal),)*) => { $( mount_page!($router, $path, $description, $file); |