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)
|
||||
/// * [BIP350 - Bech32m format for v1+ witness addresses](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki)
|
||||
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
///
|
||||
/// The `#[repr(transparent)]` attribute is used to guarantee that the layout of the
|
||||
/// `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.
|
||||
///
|
||||
// The `#[repr(transparent)]` attribute is used to guarantee the layout of the `Address` struct. It
|
||||
// is an implementation detail and users should not rely on it in their code.
|
||||
#[repr(transparent)]
|
||||
pub struct Address<V = NetworkChecked>(AddressInner, PhantomData<V>)
|
||||
where
|
||||
|
|
Loading…
Reference in New Issue