Skip to content

Commit

Permalink
📝 Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wrenger committed Dec 19, 2024
1 parent 1f70525 commit 114115f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
bitfield-struct = "0.9"
bitfield-struct = "0.10"
```

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

fn set_int(&mut self, value: u16) { todo!() }
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!() }

// other field ...
}
Expand Down

0 comments on commit 114115f

Please sign in to comment.