diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-27 17:46:29 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-27 17:46:29 +0800 |
| commit | 4f7bd4f6fa5d27cfe703c54aa029a321f40d19fb (patch) | |
| tree | 97c31ddbb905d8f0e70418b0970ee6420aeac611 /mingling/src/example_docs.rs | |
| parent | 6cadc8d39adebbc263e8576c389b5ef491f10ace (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/src/example_docs.rs')
| -rw-r--r-- | mingling/src/example_docs.rs | 3 |
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 |
