diff --git a/fixed-hash/Cargo.toml b/fixed-hash/Cargo.toml index 752f53fb3..c96ea559e 100644 --- a/fixed-hash/Cargo.toml +++ b/fixed-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fixed-hash" -version = "0.3.0" +version = "0.3.1" authors = ["Parity Technologies "] license = "MIT" homepage = "https://github.com/paritytech/parity-common" diff --git a/fixed-hash/src/hash.rs b/fixed-hash/src/hash.rs index 8d2960519..83273bc87 100644 --- a/fixed-hash/src/hash.rs +++ b/fixed-hash/src/hash.rs @@ -51,7 +51,7 @@ macro_rules! construct_fixed_hash { ( $(#[$attr:meta])* $visibility:vis struct $name:ident ( $n_bytes:expr ); ) => { #[repr(C)] $(#[$attr])* - $visibility struct $name ([u8; $n_bytes]); + $visibility struct $name (pub [u8; $n_bytes]); impl From<[u8; $n_bytes]> for $name { /// Constructs a hash type from the given bytes array of fixed length.