Fix stale docs

Recently we modified the `AddressInner` type but the docs are
stale (FTR the type is private).

Remove the stale sentence.
This commit is contained in:
Tobin C. Harding 2024-01-08 13:38:46 +11:00
parent de9f20a620
commit eea0b697bf
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 3 deletions

View File

@ -132,9 +132,8 @@ impl NetworkValidation for NetworkUnchecked {
/// The inner representation of an address, without the network validation tag. /// The inner representation of an address, without the network validation tag.
/// ///
/// An `Address` is composed of a payload and a network. This struct represents the inner /// This struct represents the inner representation of an address without the network validation
/// representation of an address without the network validation tag, which is used to ensure that /// tag, which is used to ensure that addresses are used only on the appropriate network.
/// addresses are used only on the appropriate network.
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
enum AddressInner { enum AddressInner {
P2pkh { hash: PubkeyHash, network: NetworkKind }, P2pkh { hash: PubkeyHash, network: NetworkKind },