Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Add docs to the code create by sha256t_hash_newtype macro #153

Merged
merged 1 commit into from
Apr 30, 2022

Conversation

tcharding
Copy link
Member

When using the sha256t_hash_newtype currently no docs are generated,
this causes lint errors for users who lint for such things.

Add docs to the new type created by the sha256t_hash_newtype macro.

(This is identical to how we do it in the duplicate macro of the same
name in rust-bitcoin, which can be removed in favour of this one after
this patch is applied.)

When using the `sha256t_hash_newtype` currently no docs are generated,
this causes lint errors for users who lint for such things.

Add docs to the new type created by the `sha256t_hash_newtype` macro.

(This is identical to how we do it in the duplicate macro of the same
name in `rust-bitcoin`, which can be removed in favour of this one after
this patch is applied.)
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 275adc6

@apoelstra apoelstra merged commit 9b124ca into rust-bitcoin:master Apr 30, 2022
@tcharding tcharding deleted the macro-docs branch May 1, 2022 23:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants