We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b14520 commit adba043Copy full SHA for adba043
CHANGELOG.md
@@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
7
8
## [Unreleased]
9
10
-- Fix `cargo doc` constants generation
+- `move` in `RegisterBlock::reg_iter` implementation (iterator of register/cluster array)
11
+- Fix `cargo doc` constants generation
12
13
## [v0.31.4] - 2024-01-03
14
src/generate/peripheral/accessor.rs
@@ -190,7 +190,7 @@ impl ToTokens for RawArrayAccessor {
190
#[doc = #doc]
191
#[inline(always)]
192
pub fn #name_iter(&self) -> impl Iterator<Item=&#ty> {
193
- (0..#dim).map(|n| #cast)
+ (0..#dim).map(move |n| #cast)
194
}
195
196
.to_tokens(tokens);
0 commit comments