From a63c2e8c40fa847a86d00c754fb10a4729ba34e5 Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Thu, 29 Apr 2021 09:26:38 -0300 Subject: [PATCH] Update book/src/dev/proptests.md Co-authored-by: Pili Guerra --- book/src/dev/proptests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/dev/proptests.md b/book/src/dev/proptests.md index 5231ed2fd..d9f727647 100644 --- a/book/src/dev/proptests.md +++ b/book/src/dev/proptests.md @@ -4,7 +4,7 @@ Zebra uses the [proptest](https://docs.rs/proptest/) crate for randomised proper Most types in `zebra-chain` have an `Arbitrary` implementation, which generates randomised test cases. -We try ti derive `Arbitrary` impls whenever possible, so that they autoamtically update when we make structural changes. +We try to derive `Arbitrary` impls whenever possible, so that they automatically update when we make structural changes. To derive, add the following attribute to the struct or enum: ```rust #[cfg_attr(any(test, feature = "proptest-impl"), derive(Arbitrary))]