From b4c14a4b7cde966fb7a2f702760ec96d392b52b5 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 9 Jan 2023 13:42:06 +1100 Subject: [PATCH] hashes: Use automatic link Cargo emits various warnings when building the docs: warning: this URL is not a hyperlink As suggested, add angle brackets to create automatic links. --- hashes/src/sha512_256.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hashes/src/sha512_256.rs b/hashes/src/sha512_256.rs index 939887c0..f87ce721 100644 --- a/hashes/src/sha512_256.rs +++ b/hashes/src/sha512_256.rs @@ -22,7 +22,7 @@ //! SHA512/256 is a hash function that uses the sha512 alogrithm but it truncates //! the output to 256 bits. It has different initial constants than sha512 so it //! produces an entirely different hash compared to sha512. More information at -//! https://eprint.iacr.org/2010/548.pdf. +//! . use core::str; use core::ops::Index; @@ -35,7 +35,7 @@ use crate::{hex, sha512, sha512::BLOCK_SIZE, Error}; /// SHA512/256 is a hash function that uses the sha512 alogrithm but it truncates /// the output to 256 bits. It has different initial constants than sha512 so it /// produces an entirely different hash compared to sha512. More information at -/// https://eprint.iacr.org/2010/548.pdf. +/// . #[derive(Clone)] pub struct HashEngine(sha512::HashEngine); @@ -73,7 +73,7 @@ impl crate::HashEngine for HashEngine { crate::internal_macros::hash_type! { 256, false, - "Output of the SHA512/256 hash function.\n\nSHA512/256 is a hash function that uses the sha512 alogrithm but it truncates the output to 256 bits. It has different initial constants than sha512 so it produces an entirely different hash compared to sha512. More information at https://eprint.iacr.org/2010/548.pdf. ", + "Output of the SHA512/256 hash function.\n\nSHA512/256 is a hash function that uses the sha512 alogrithm but it truncates the output to 256 bits. It has different initial constants than sha512 so it produces an entirely different hash compared to sha512. More information at . ", "crate::util::json_hex_string::len_32" }