quickcheck icon indicating copy to clipboard operation
quickcheck copied to clipboard

arbitrary: add fill_slice method for AsMut<[T: Arbitrary]>

Open cyphar opened this issue 4 years ago • 0 comments

This allows users to fairly easily migrate from CoreRng::fill_byte() and similar constructions without requiring them to fuss around with a new SeedableRng (or copy-paste this boilerplate) when their slice is just full of Arbitrary-able types.

Fixes #291 Signed-off-by: Aleksa Sarai [email protected]

cyphar avatar May 23 '21 01:05 cyphar