aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-11 16:10:53 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-11 16:10:53 +0800
commit85c8986f26031cc11ed1e1da77fdf099b5814381 (patch)
treed4a53fadc683988fd30d1ee07de23a11b9d37ac6 /mingling/src/lib.rs
parent810536fb1f068f969af316be0450a1edacfe8e28 (diff)
style: Reorder imports and reformat code with cargo fmt
Diffstat (limited to 'mingling/src/lib.rs')
-rw-r--r--mingling/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs
index 019c20d..76d73b6 100644
--- a/mingling/src/lib.rs
+++ b/mingling/src/lib.rs
@@ -222,6 +222,10 @@ pub mod res;
/// use mingling::prelude::*;
/// ```
pub mod prelude {
+ /// Re-export of the `Groupped` derive macro for grouping types.
+ pub use crate::Groupped;
+ /// Re-export of the `RenderResult` struct for outputting rendering result
+ pub use crate::RenderResult;
/// Re-export of the `chain` macro for defining a chain of commands.
pub use crate::macros::chain;
/// Re-export of the `dispatcher` macro for routing commands.
@@ -238,10 +242,6 @@ pub mod prelude {
pub use crate::macros::pack_err;
/// Re-export of the `renderer` macro for defining renderer functions.
pub use crate::macros::renderer;
- /// Re-export of the `Groupped` derive macro for grouping types.
- pub use crate::Groupped;
- /// Re-export of the `RenderResult` struct for outputting rendering result
- pub use crate::RenderResult;
/// Like `pack_err!` but also marks the type for structured output
#[cfg(all(feature = "structural_renderer", feature = "extra_macros"))]
pub use mingling_macros::pack_err_structural;