Skip to content

Commit 1495801

Browse files
authored
Derive all traits for error; bump version (#49)
1 parent a565895 commit 1495801

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bech32"
3-
version = "0.7.2"
3+
version = "0.7.3"
44
authors = ["Clark Moody"]
55
repository = "https://github.com/rust-bitcoin/rust-bech32"
66
description = "Encodes and decodes the Bech32 format"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ const GEN: [u32; 5] = [
553553
];
554554

555555
/// Error types for Bech32 encoding / decoding
556-
#[derive(Copy, Clone, PartialEq, Debug)]
556+
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
557557
pub enum Error {
558558
/// String does not contain the separator character
559559
MissingSeparator,

0 commit comments

Comments
 (0)