From 1ab19e8765ea2ed62c8a41113d84867facaabf08 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 1 Jun 2026 12:55:23 +0800 Subject: Change `ProgramSetup::setup` to consume `self` instead of borrow --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CHANGELOG.md') 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) -> S` to `fn setup(self, program: &mut Program)`, 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) -- cgit