Merge rust-bitcoin/rust-bitcoin#3069: Remove re-export of `ParseIntError`
ab581a90f8
Remove re-export of ParseIntError (Tobin C. Harding) Pull request description: Ind242125
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. ACKs for top commit: Kixunil: ACKab581a90f8
shinghim: ACKab581a90f8
apoelstra: ACKab581a90f8
Tree-SHA512: 5ac4123aeb27c8cee78e5760f21e70be8035d526ba7e14e72759cba27f98b51cc2cba9b2bf0eeb99e0f6b7210ec4a750986bb6c5dc0725ed892730fdec8a7e06
This commit is contained in:
commit
e1478b1802
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue