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: ACK57165d3f7f
apoelstra: ACK57165d3f7f
Tree-SHA512: dba54a71073bf58cafe4a248ec25c5f6a691f565d6bda749d5b50786d353a30cd59f09e10f600cb95b8f635ab1ce38aef8decb178b586c80df1b6cc9a7943a49
This commit is contained in:
commit
e16b9bdb20
|
@ -80,7 +80,7 @@ impl crate::HashEngine for HashEngine {
|
||||||
engine_input_impl!();
|
engine_input_impl!();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Output of the SHA256 hash function.
|
/// Output of the SHA512 hash function.
|
||||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
pub struct Hash(
|
pub struct Hash(
|
||||||
|
|
Loading…
Reference in New Issue