Merge rust-bitcoin/rust-bitcoin#2920: Remove unnecessary braces
1147e66896
Remove unnecessary braces (Jamil Lambert) Pull request description: Remove the unnecessary braces to eliminate the rust-analyzer warning,. This is trivial, but it causes rust-analyzer to constantly flag a warning, and a simple change removes it. I also added a comma at the end, again trivial but as someone who speaks Rust as a second language I have read this is what is normally done and I only mention it to get feedback on if that is correct or not. ACKs for top commit: Kixunil: ACK1147e66896
apoelstra: ACK1147e66896
Tree-SHA512: 454996e1ac8ac2a66ad855fe94eed63c9d0582f688a88ebfcda57a333129e7e50004d20c44819b97d2d56dc4bffca6580407262b39c37c4e878cff90092c76dc
This commit is contained in:
commit
554a5eb40c
|
@ -55,11 +55,9 @@ use crate::taproot::TapNodeHash;
|
|||
|
||||
#[rustfmt::skip] // Keep public re-exports separate.
|
||||
#[doc(inline)]
|
||||
pub use self::{
|
||||
error::{
|
||||
pub use self::error::{
|
||||
FromScriptError, InvalidBase58PayloadLengthError, InvalidLegacyPrefixError, LegacyAddressTooLongError,
|
||||
NetworkValidationError, ParseError, UnknownAddressTypeError, UnknownHrpError
|
||||
},
|
||||
NetworkValidationError, ParseError, UnknownAddressTypeError, UnknownHrpError,
|
||||
};
|
||||
|
||||
/// The different types of addresses.
|
||||
|
|
Loading…
Reference in New Issue