Remove unnecessary braces

This causes rust-analyzer to flag a warning.

Remove unnecessary braces to get rid of rust-analyzer warning.
This commit is contained in:
Jamil Lambert 2024-06-26 14:33:06 +01:00
parent 40d1335f08
commit 1147e66896
1 changed files with 2 additions and 4 deletions

View File

@ -55,11 +55,9 @@ use crate::taproot::TapNodeHash;
#[rustfmt::skip] // Keep public re-exports separate. #[rustfmt::skip] // Keep public re-exports separate.
#[doc(inline)] #[doc(inline)]
pub use self::{ pub use self::error::{
error::{
FromScriptError, InvalidBase58PayloadLengthError, InvalidLegacyPrefixError, LegacyAddressTooLongError, FromScriptError, InvalidBase58PayloadLengthError, InvalidLegacyPrefixError, LegacyAddressTooLongError,
NetworkValidationError, ParseError, UnknownAddressTypeError, UnknownHrpError NetworkValidationError, ParseError, UnknownAddressTypeError, UnknownHrpError,
},
}; };
/// The different types of addresses. /// The different types of addresses.