File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 5
5
- Setting ` PROPTEST_MAX_DEFAULT_SIZE_RANGE ` now customizes the default ` SizeRange `
6
6
used by the default strategies for collections (like ` Vec ` ). The default remains 100.
7
7
8
+ ### Documentation
9
+ - Reference the derive macro in Arbitrary's documentation
10
+
8
11
### Bug Fixes
9
12
- Fixed issue where config contextualization would clobber existing failure persistence config
10
13
Original file line number Diff line number Diff line change @@ -36,10 +36,15 @@ use crate::strategy::Strategy;
36
36
/// which may be lifted in the future as the [generic associated types (GAT)]
37
37
/// feature of Rust is implemented and stabilized.
38
38
///
39
+ /// If you do not have unique constraints on how to generate the data for your
40
+ /// custom types, consider using [the derive macro] to implement Arbitrary
41
+ ///
39
42
/// [generic associated types (GAT)]: https://github.com/rust-lang/rust/issues/44265
40
43
///
41
44
/// [`Strategy`]: ../strategy/trait.Strategy.html
42
45
///
46
+ /// [the derive macro]: https://docs.rs/proptest-derive/latest/proptest_derive/
47
+ ///
43
48
/// [HaskellQC]:
44
49
/// https://hackage.haskell.org/package/QuickCheck/docs/Test-QuickCheck-Arbitrary.html
45
50
pub trait Arbitrary : Sized + fmt:: Debug {
You can’t perform that action at this time.
0 commit comments