Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arbitrary trait implementation #378

Merged
merged 11 commits into from
Apr 23, 2020
4 changes: 2 additions & 2 deletions fixed-hash/src/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ macro_rules! impl_quickcheck_for_fixed_hash {
};
}

// Implementation for disabled `arbitrary` crate support.
// When the `arbitrary` features is disabled.
kirk-baird marked this conversation as resolved.
Show resolved Hide resolved
//
// # Note
//
Expand All @@ -651,7 +651,7 @@ macro_rules! impl_arbitrary_for_fixed_hash {
( $name:ident ) => {};
}

// Implementation for enabled `arbitrary` crate support.
// When the `arbitrary` features is enabled.
kirk-baird marked this conversation as resolved.
Show resolved Hide resolved
//
// # Note
//
Expand Down
2 changes: 1 addition & 1 deletion uint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ see fuzz [README.md](fuzz/README.md)
- Enabled by default.
- `quickcheck`: Enable quickcheck-style property testing
- Use with `cargo test --release --features=quickcheck`.
- `arbitrary`: Allow for creation of an `uint` object from random unstructured input.
- `arbitrary`: Allow for creation of an `uint` object from random unstructured input for use with fuzzers that use the `arbitrary` crate.
- Disabled by default.