Remove rustdoc about attribute
Attributes are a code level thing, they should not be documented using rustdoc. Use code comments and simplify the comment.
This commit is contained in:
parent
eea0b697bf
commit
08d2b203a5
|
@ -318,11 +318,8 @@ impl From<Network> for KnownHrp {
|
||||||
/// * [BIP341 - Taproot: SegWit version 1 spending rules](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki)
|
/// * [BIP341 - Taproot: SegWit version 1 spending rules](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki)
|
||||||
/// * [BIP350 - Bech32m format for v1+ witness addresses](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki)
|
/// * [BIP350 - Bech32m format for v1+ witness addresses](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki)
|
||||||
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
///
|
// The `#[repr(transparent)]` attribute is used to guarantee the layout of the `Address` struct. It
|
||||||
/// The `#[repr(transparent)]` attribute is used to guarantee that the layout of the
|
// is an implementation detail and users should not rely on it in their code.
|
||||||
/// `Address` struct is the same as the layout of the `AddressInner` struct. This attribute is
|
|
||||||
/// an implementation detail and users should not rely on it in their code.
|
|
||||||
///
|
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
pub struct Address<V = NetworkChecked>(AddressInner, PhantomData<V>)
|
pub struct Address<V = NetworkChecked>(AddressInner, PhantomData<V>)
|
||||||
where
|
where
|
||||||
|
|
Loading…
Reference in New Issue