Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that we derive a bunch of traits for the `secp256k1` types that use `impl_array_newtype` it makes sense to derive `Copy` and `Clone` as well. This makes the code less surprising because all the impls come from the same place (the derive attribute). Note, in `secp256k1-sys` we leave the `Copy` and `Clone` impls in the macro because there is enough clutter already on the struct definitions with the fuzzing `cfg_attr`.
- Loading branch information
Showing
4 changed files
with
3 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters