Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #805: Remove impl_index_newtype macro
63e36fe Remove impl_index_newtype macro (Tobin Harding) Pull request description: This macro is no longer needed since we bumped MSRV to 1.29. ~We can implement `SliceIndex` to get the `Index` implementations.~ We can implement `core::ops::Index` directly since all the inner types implement `Index` already. Original ~Idea shamelessly stolen from @elichai [in this comment](#352 (comment) New idea proposed by @Kixunil during review below. Thanks. ACKs for top commit: apoelstra: ACK 63e36fe dr-orlovsky: utACK 63e36fe sanket1729: ACK 63e36fe Tree-SHA512: f7b4555c7fd9a2d458dcd53ec8caece0d12f3af77a10e850f35201bd7a580ba8fd7cb1d47a7f78ba6582e777dffa13416916ecacac6e0e874bdbb1c866132dc2
- Loading branch information
Showing
3 changed files
with
44 additions
and
53 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