Skip to content

Commit

Permalink
fixed some readme and comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas3674 committed Jul 9, 2023
1 parent 1cfc31d commit 281d118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ If you need / can think of any other config option, feel free to suggest them an
## Implemented Methods
```rust,ignore
// Returns the underlying bits of the bitmask.
const fn bits(&self) -> #type {
const fn bits(&self) -> #type;
// Returns a bitmask that contains all values.
const fn all() -> Self;
Expand Down
2 changes: 1 addition & 1 deletion examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl Bitmask {
}
}

// bitmask has const bitwise operator methods
// The bitmask has const bitwise operator methods
const CONST_BM: Bitmask = Bitmask::Flag2.or(Bitmask::Flag3);

fn main() {
Expand Down

0 comments on commit 281d118

Please sign in to comment.