From 2585264de785057c1ca21284b88e25e3a2addb94 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 28 Jun 2026 03:06:29 +0800 Subject: chore: fix markdown formatting in CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 3023701..9627967 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -383,7 +383,7 @@ let value = route!(prev.pick_or_route((), Error::default()).unpack()); - **All hook callbacks now receive structured info types** (e.g., `&HookPreDispatchInfo`, `&HookPostChainInfo`) instead of raw tuples or bare values. Each hook event has a dedicated info struct with named fields, making hook signatures self-documenting and easier to evolve. - - **Hook signatures changed from `fn(...)` to `Box R>**`, with `R: Into>`. Closures that return `()`are automatically converted to`ProgramControls::Empty`via the`From<()>` impl. + - Hook signatures changed from `fn(...)` to `Box R>`, with `R: Into>`. Closures that return `()`are automatically converted to`ProgramControls::Empty`via the`From<()>` impl. ```rust // Before -- cgit