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.
1 parent 4c7e0cb commit 7b7d038Copy full SHA for 7b7d038
svd-rs/CHANGELOG.md
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
and this project adheres to [Semantic Versioning](http://semver.org/).
7
8
+## [Unreleased]
9
+
10
+- Fix typo in Access::can_write
11
12
## [v0.11.0] - 2021-10-02
13
- Splitted from `svd-parser`
14
svd-rs/src/access.rs
@@ -35,7 +35,7 @@ impl Access {
35
36
/// Whether the register/field is writable at least once.
37
pub fn can_write(self) -> bool {
38
- matches!(self, Self::ReadOnly)
+ !matches!(self, Self::ReadOnly)
39
}
40
41
0 commit comments