Closed tcharding closed 2 years ago
After https://github.com/rust-bitcoin/bitcoin_hashes/pull/150 merges we can use the nightly toolchain and get access to the docrs compiler attribute.
Patch 1 and 2 are cleanup in preparation for patch 3 which adds the experimental docrs cfg attribute of form
#[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
to all non-test code that is feature gated.
After https://github.com/rust-bitcoin/bitcoin_hashes/pull/150 merges we can use the nightly toolchain and get access to the docrs compiler attribute.
Patch 1 and 2 are cleanup in preparation for patch 3 which adds the experimental docrs cfg attribute of form
to all non-test code that is feature gated.