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 1f70525 commit 114115fCopy full SHA for 114115f
README.md
@@ -21,7 +21,7 @@ Add this to your `Cargo.toml`:
21
22
```toml
23
[dependencies]
24
-bitfield-struct = "0.9"
+bitfield-struct = "0.10"
25
```
26
27
## Basics
@@ -190,8 +190,8 @@ impl MyBitfield {
190
const fn with_int(self, value: u16) -> Self { todo!() }
191
const fn with_int_checked(self, value: u16) -> Result<Self, ()> { todo!() }
192
193
- fn set_int(&mut self, value: u16) { todo!() }
194
- fn set_int_checked(&mut self, value: u16) -> Result<(), ()> { todo!() }
+ const fn set_int(&mut self, value: u16) { todo!() }
+ const fn set_int_checked(&mut self, value: u16) -> Result<(), ()> { todo!() }
195
196
// other field ...
197
}
0 commit comments