Skip to content

Commit

Permalink
Remove assertions for tiny doctest examples (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser authored Aug 8, 2024
1 parent c9136da commit ce546ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use hypertwobits::{HyperTwoBits, M512};
let mut htb = HyperTwoBits::<M512>::default();
htb.insert(&"foo");
assert_eq!(htb.count(), 1);
htb.insert(&"bar");
assert_eq!(htb.count(), 2);
htb.count();
```
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
//! use hypertwobits::{HyperTwoBits, M512};
//! let mut htb = HyperTwoBits::<M512>::default();
//! htb.insert(&"foo");
//! assert_eq!(htb.count(), 1);
//! htb.insert(&"bar");
//! assert_eq!(htb.count(), 2);
//! htb.count();
//! ```
#![deny(clippy::pedantic, missing_docs)]
Expand Down

0 comments on commit ce546ca

Please sign in to comment.