SliceDeserializer docs shorten link

This commit is contained in:
AF 2023-07-30 12:34:30 +00:00
parent 0470a0faa3
commit d5c38cf0a4
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@ pub const HASH_SIZE: usize = 32;
/// Zeroed out array of the same length as [`type@Hash`].
/// Used in [`nullable`].
///
///
/// [`nullable`]: crate::rstd::nullable
pub const HASH_ZEROS: [u8; HASH_SIZE] = [0; HASH_SIZE];

View File

@ -2,7 +2,9 @@ use std::cmp::min;
use super::*;
/// [Deserializer] for slices. Used in [`FactoryExt::parse_slice`] and [`crate::rstd::atomic::AtomicExt::parse_slice`].
/// [Deserializer] for slices. Used in [`FactoryExt::parse_slice`] and [`AtomicExt::parse_slice`].
///
/// [`AtomicExt::parse_slice`]: crate::rstd::atomic::AtomicExt::parse_slice
pub struct SliceDeserializer<'a> {
slice: &'a [u8],
pos: usize,