diff --git a/bitcoin/src/address/mod.rs b/bitcoin/src/address/mod.rs index 9f374cdf..d1d8175e 100644 --- a/bitcoin/src/address/mod.rs +++ b/bitcoin/src/address/mod.rs @@ -318,11 +318,8 @@ impl From 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(AddressInner, PhantomData) where