From dc6242fb6964deba9a792307da548dd1e68b19c5 Mon Sep 17 00:00:00 2001 From: Denis Varlakov Date: Thu, 22 Aug 2024 17:32:45 +0200 Subject: [PATCH] Fix docs Signed-off-by: Denis Varlakov --- udigest/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udigest/src/lib.rs b/udigest/src/lib.rs index 122677e..ab7c7e8 100644 --- a/udigest/src/lib.rs +++ b/udigest/src/lib.rs @@ -203,7 +203,7 @@ pub use encoding::Buffer; /// /// When structure is digested, the hash map is converted into btree map. `_` in `BTreeMap<_, udigest::Bytes>` /// says that the key should be kept as it is: `String` string will be digested. The macro -/// replaces underscores (also called "infer types") with [`udigest::as_::Same`], which +/// replaces underscores (also called "infer types") with [`Same`](crate::as_::Same), which /// indicates that the same digestion rules should be used as for the original type. /// `udigest::Bytes` indicates that the value `Vec` should be digested as bytes, not as /// list of u8 which would be a default behavior.