diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-28 20:12:56 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-28 20:12:56 +0800 |
| commit | 53033ae52c3b7a251fda2cadee46ae148cdb2846 (patch) | |
| tree | 0b6b986926a0008bb1b26731b6bdf96f0473a751 /examples/example-implicit-dispatcher/src | |
| parent | e3c060b3281b6255c2cdebdcf2dda2a22a758662 (diff) | |
feat(attr): allow #[command] on functions with no args param
Previously, #[command] required at least one owned parameter for
args injection. Now, if the first parameter is a reference or
there are no parameters, a synthetic entry parameter is inserted
so the function can still be used with #[chain].
Diffstat (limited to 'examples/example-implicit-dispatcher/src')
0 files changed, 0 insertions, 0 deletions
