aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-01 12:55:23 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-01 12:55:23 +0800
commit1ab19e8765ea2ed62c8a41113d84867facaabf08 (patch)
tree1c81d759d195daf0275b031929292573f2b483fd /CHANGELOG.md
parent94baeaca074dd8b12d16180119cac09f453c5e85 (diff)
Change `ProgramSetup::setup` to consume `self` instead of borrow
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cbfdbb0..61805aa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,7 +25,7 @@ let value: MyType = unpack_chain_process!(result, MyType);
#### **BREAKING CHANGES** (API CHANGES):
-None
+1. **\[core\]** Changed the signature of `ProgramSetup::setup` from `fn setup(&mut self, program: &mut Program<C>) -> S` to `fn setup(self, program: &mut Program<C>)`, consuming `self` instead of taking a mutable reference. Correspondingly, `Program::with_setup` now accepts `S` by value (`&mut self, setup: S`) instead of by mutable reference (`&mut self, setup: &mut S`).
### Release 0.1.9 (2026-05-29)