|
|
|
|
|
by tybug
92 days ago
|
|
Yep, `#[derive(DefaultGenerator)]` and `generators::default<T>()` are the right tools here. This is one of the areas we've dogfooded the least, so we'd definitely be happy to get feedback on any sharp corners here! I think `from_type` is one of Hypothesis's most powerful and ergonomic strategies, and that while we probably can't get quite to that level in rust, we can still get something that's pretty great. |
|