Skip to content

Commit 03650dd

Browse files
committed
Remove unused error variant
1 parent ea86cb5 commit 03650dd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ pub enum Error {
296296
CmsTooManyKeys(u32),
297297
/// A tapscript multi_a cannot support more than MAX_BLOCK_WEIGHT/32 keys
298298
MultiATooManyKeys(u32),
299-
/// Encountered unprintable character in descriptor
300-
Unprintable(u8),
301299
/// expected character while parsing descriptor; didn't find one
302300
ExpectedChar(char),
303301
/// While parsing backward, hit beginning of script
@@ -463,7 +461,6 @@ impl fmt::Display for Error {
463461
Error::Script(ref e) => fmt::Display::fmt(e, f),
464462
Error::AddrError(ref e) => fmt::Display::fmt(e, f),
465463
Error::CmsTooManyKeys(n) => write!(f, "checkmultisig with {} keys", n),
466-
Error::Unprintable(x) => write!(f, "unprintable character 0x{:02x}", x),
467464
Error::ExpectedChar(c) => write!(f, "expected {}", c),
468465
Error::UnexpectedStart => f.write_str("unexpected start of script"),
469466
Error::Unexpected(ref s) => write!(f, "unexpected «{}»", s),
@@ -537,7 +534,6 @@ impl error::Error for Error {
537534
| InvalidPush(_)
538535
| CmsTooManyKeys(_)
539536
| MultiATooManyKeys(_)
540-
| Unprintable(_)
541537
| ExpectedChar(_)
542538
| UnexpectedStart
543539
| Unexpected(_)

0 commit comments

Comments
 (0)