Remove re-export of ParseIntError

In d242125 I claimed that `ParseIntError` was somehow special, I no
longer thing this is the case. As we pin down the re-export policy (for
errors and other types) it is hard if we have one non-typical re-export.

We have https://github.com/rust-bitcoin/rust-bitcoin/issues/3068 to
discuss the policy, for now just remove the unusual re-export.
This commit is contained in:
Tobin C. Harding 2024-07-17 08:01:32 +10:00
parent 59c806996c
commit ab581a90f8
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
2 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,7 @@ use core::fmt;
use core::str::FromStr;
use internals::write_err;
use units::{parse, ParseIntError};
use units::parse::{self, ParseIntError};
use crate::opcodes::all::*;
use crate::opcodes::Opcode;

View File

@ -51,7 +51,5 @@ pub use self::amount::{Amount, SignedAmount};
pub use self::{
block::{BlockHeight, BlockInterval},
fee_rate::FeeRate,
// ParseIntError is used by other modules, so we re-export it.
parse::ParseIntError,
weight::Weight
};