From 3c57edba2df0d404c8e10c8c093ce179d1dce221 Mon Sep 17 00:00:00 2001 From: timofey Date: Sun, 30 Jul 2023 11:31:25 +0000 Subject: [PATCH] `hashing`: remove `#[cfg(doc)]` --- src/rcore/hashing.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rcore/hashing.rs b/src/rcore/hashing.rs index a75a049..2b44862 100644 --- a/src/rcore/hashing.rs +++ b/src/rcore/hashing.rs @@ -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];