hashing: remove #[cfg(doc)]

This commit is contained in:
AF 2023-07-30 11:31:25 +00:00
parent 2511d77843
commit 3c57edba2d

View File

@ -1,6 +1,3 @@
#[cfg(doc)]
use super::*;
/// Fixed [type@Hash] length.
pub const HASH_SIZE: usize = 32;
@ -9,4 +6,7 @@ pub const HASH_SIZE: usize = 32;
pub const HASH_ZEROS: [u8; HASH_SIZE] = [0; HASH_SIZE];
/// For use in [`Point`]/[`Address`].
///
/// [`Point`]: super::Point
/// [`Address`]: super::Address
pub type Hash = [u8; HASH_SIZE];