We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc37f41 commit b81f08cCopy full SHA for b81f08c
src/descriptor/key.rs
@@ -1072,11 +1072,9 @@ impl FromStr for DefiniteDescriptorKey {
1072
1073
fn from_str(s: &str) -> Result<Self, Self::Err> {
1074
let inner = DescriptorPublicKey::from_str(s)?;
1075
- Ok(
1076
- DefiniteDescriptorKey::new(inner).ok_or(DescriptorKeyParseError(
1077
- "cannot parse key with a wilcard as a DerivedDescriptorKey",
1078
- ))?,
1079
- )
+ DefiniteDescriptorKey::new(inner).ok_or(DescriptorKeyParseError(
+ "cannot parse key with a wilcard as a DerivedDescriptorKey",
+ ))
1080
}
1081
1082
0 commit comments