We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ddc065 + b5b1d56 commit 10edb19Copy full SHA for 10edb19
CHANGELOG.md
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
7
8
## [Unreleased]
9
10
+- Remove needless reference in `ArrayElemAccessor`
11
+
12
## [v0.31.0] - 2023-11-24
13
14
- Use methods to access any register or cluster
src/generate/peripheral/accessor.rs
@@ -204,7 +204,7 @@ impl ToTokens for ArrayElemAccessor {
204
#[doc = #doc]
205
#[inline(always)]
206
pub const fn #name(&self) -> &#ty {
207
- &self.#basename(#i)
+ self.#basename(#i)
208
}
209
210
.to_tokens(tokens);
0 commit comments