Skip to content

Commit 5c324e2

Browse files
committed
Fix!: Remove deprecated bool generator
Removing `monkey_test::gens::bool::evenly`. Use `monkey_test::gens::bool::any()` instead.
1 parent 3ebcb40 commit 5c324e2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/gens/bool.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ pub fn with_ratio(ratio_false: u8, ratio_true: u8) -> BoxGen<bool> {
99
.with_shrinker(crate::shrinks::bool())
1010
}
1111

12-
/// Uniformly distributed generator of `true` and `false`. Please use [any]
13-
/// instead.
14-
#[deprecated = "Use any() insted, conforming to monkey_test general naming scheme."]
15-
pub fn evenly() -> BoxGen<bool> {
16-
with_ratio(1, 1)
17-
}
18-
1912
/// Uniformly distributed generator of `true` and `false`.
2013
pub fn any() -> BoxGen<bool> {
2114
with_ratio(1, 1)

0 commit comments

Comments
 (0)