mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
factor: tests: update Arbitrary impl for Factors
Upstream removed the Gen trait and made the gen method private in
d286e4db20
This commit is contained in:
parent
c037382df7
commit
e24ecea1da
1 changed files with 2 additions and 2 deletions
|
@ -277,8 +277,8 @@ impl Distribution<Factors> for Standard {
|
|||
|
||||
#[cfg(test)]
|
||||
impl quickcheck::Arbitrary for Factors {
|
||||
fn arbitrary<G: quickcheck::Gen>(g: &mut G) -> Self {
|
||||
g.gen()
|
||||
fn arbitrary(g: &mut quickcheck::Gen) -> Self {
|
||||
factor(u64::arbitrary(g))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue