diff options
| author | Fuwn <[email protected]> | 2023-04-16 00:47:52 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-16 00:47:52 -0700 |
| commit | 0a0e09102f2ee86e6d7f424ad6f7048e7583f527 (patch) | |
| tree | 334eb370ff09deae2b7997592d60aab0bf6d3db9 /src/main.rs | |
| parent | fix(timing): push module (what ?) (diff) | |
| download | locus-0a0e09102f2ee86e6d7f424ad6f7048e7583f527.tar.xz locus-0a0e09102f2ee86e6d7f424ad6f7048e7583f527.zip | |
refactor: make maros procedural
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index efbe44d..faeddcc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,7 +84,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { timing::time_section(&mut time_mount, "creating router"); timing::time_mounts("module", &mut time_mount, || { - stateless!(router, modules); + router.attach_stateless(modules::module); }); std::thread::spawn(modules::search::index); |