diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-27 21:06:38 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-27 21:06:38 +0800 |
| commit | ad10b82c1e6785cbf88562117b1609905cfeb6dc (patch) | |
| tree | 5f7de552a570a4e0e3346e255a78d6687dfb6300 /mingling/src/lib.rs | |
| parent | 3fd6a7a27d7002cdf3ab5123b75c889d830e7145 (diff) | |
Add `route!` macro for early error routing
Diffstat (limited to 'mingling/src/lib.rs')
| -rw-r--r-- | mingling/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 7496d9d..afc8e90 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -113,6 +113,8 @@ pub mod macros { pub use mingling_macros::register_type; /// Used to generate a struct implementing the `Renderer` trait via a method pub use mingling_macros::renderer; + /// Used to generate a route that either returns a successful result or early returns an error. + pub use mingling_macros::route; #[cfg(feature = "comp")] /// Used to generate suggestions pub use mingling_macros::suggest; |
