Merge rust-bitcoin/rust-bitcoin#1407: Fix typo in the SHA512 documentation

57165d3f7f Fix typo in the SHA512 documentation (Calvin Kim)

Pull request description:

  Saw the typo and since this typo also exists in crates.io, I thought it'd be good to quickly change it.

  Though maybe this should be replaced altogether with the `hash_type` macro since every other hash function implementation is using that.

ACKs for top commit:
  Kixunil:
    ACK 57165d3f7f
  apoelstra:
    ACK 57165d3f7f

Tree-SHA512: dba54a71073bf58cafe4a248ec25c5f6a691f565d6bda749d5b50786d353a30cd59f09e10f600cb95b8f635ab1ce38aef8decb178b586c80df1b6cc9a7943a49
This commit is contained in:
Andrew Poelstra 2022-11-22 16:31:00 +00:00
commit e16b9bdb20
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ impl crate::HashEngine for HashEngine {
engine_input_impl!();
}
/// Output of the SHA256 hash function.
/// Output of the SHA512 hash function.
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
#[repr(transparent)]
pub struct Hash(