Skip to content

Commit 114115f

Browse files
committed
📝 Update docs
1 parent 1f70525 commit 114115f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this to your `Cargo.toml`:
2121

2222
```toml
2323
[dependencies]
24-
bitfield-struct = "0.9"
24+
bitfield-struct = "0.10"
2525
```
2626

2727
## Basics
@@ -190,8 +190,8 @@ impl MyBitfield {
190190
const fn with_int(self, value: u16) -> Self { todo!() }
191191
const fn with_int_checked(self, value: u16) -> Result<Self, ()> { todo!() }
192192

193-
fn set_int(&mut self, value: u16) { todo!() }
194-
fn set_int_checked(&mut self, value: u16) -> Result<(), ()> { todo!() }
193+
const fn set_int(&mut self, value: u16) { todo!() }
194+
const fn set_int_checked(&mut self, value: u16) -> Result<(), ()> { todo!() }
195195

196196
// other field ...
197197
}

0 commit comments

Comments
 (0)