aboutsummaryrefslogtreecommitdiff
path: root/mingling
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-27 17:46:29 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-27 17:46:29 +0800
commit4f7bd4f6fa5d27cfe703c54aa029a321f40d19fb (patch)
tree97c31ddbb905d8f0e70418b0970ee6420aeac611 /mingling
parent6cadc8d39adebbc263e8576c389b5ef491f10ace (diff)
feat(macros): add async mutable resource injection for `#[chain]`
Support `&mut T` resource parameters in async chain functions by using an extract-store pattern that avoids holding mutable borrows across await points. Remove the previous compile-time rejection of this combination.
Diffstat (limited to 'mingling')
-rw-r--r--mingling/src/example_docs.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/mingling/src/example_docs.rs b/mingling/src/example_docs.rs
index c492a11..5208077 100644
--- a/mingling/src/example_docs.rs
+++ b/mingling/src/example_docs.rs
@@ -128,8 +128,7 @@ pub mod example_argument_parse {}
///
/// However, you will lose some capabilities:
///
-/// 1. `&mut` resource injection is not available in async chain functions
-/// 2. The program will not be able to use panic unwind functionality
+/// 1. The program will not be able to use panic unwind functionality
///
/// Run:
/// ```bash