Merge rust-bitcoin/rust-bitcoin#2789: Removed spare line at end of headers in hashes crate
52bea9f6a4
Removed //! spare line at end of headers (jamil.lambert) Pull request description: Some of the headers had a //! spare line at the end but most didn't. They have all been removed in hashes/src/ to make the files consistent ACKs for top commit: apoelstra: ACK52bea9f6a4
Tree-SHA512: 66f9e89e1b11c4688b9d7b19e8ffb329f49aa5b32765b73540f90e12f1dd329de6307e8bdedcb9dffa527817dccbb46fa75912b7cad11bc0ab06a95632728f98
This commit is contained in:
commit
9f5697a5bd
|
@ -6,7 +6,6 @@
|
|||
// contents here as CC0.
|
||||
|
||||
//! HASH160 (SHA256 then RIPEMD160) implementation.
|
||||
//!
|
||||
|
||||
use core::ops::Index;
|
||||
use core::slice::SliceIndex;
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
// contents here as CC0.
|
||||
|
||||
//! Hash-based Message Authentication Code (HMAC).
|
||||
//!
|
||||
|
||||
use core::{convert, fmt, str};
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
//! `std` / `io` Impls.
|
||||
//!
|
||||
//! Implementations of traits defined in `std` / `io` and not in `core`.
|
||||
//!
|
||||
|
||||
use bitcoin_io::impl_write;
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! RIPEMD160 implementation.
|
||||
//!
|
||||
|
||||
use core::cmp;
|
||||
use core::ops::Index;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! Macros for serde trait implementations, and supporting code.
|
||||
//!
|
||||
|
||||
/// Functions used by serde impls of all hashes.
|
||||
#[cfg(feature = "serde")]
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! SHA1 implementation.
|
||||
//!
|
||||
|
||||
use core::cmp;
|
||||
use core::ops::Index;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! SHA256 implementation.
|
||||
//!
|
||||
|
||||
#[cfg(all(feature = "std", target_arch = "x86"))]
|
||||
use core::arch::x86::*;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! SHA256d implementation (double SHA256).
|
||||
//!
|
||||
|
||||
use core::ops::Index;
|
||||
use core::slice::SliceIndex;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! SHA256t implementation (tagged SHA256).
|
||||
//!
|
||||
|
||||
use core::cmp;
|
||||
use core::marker::PhantomData;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! SHA512 implementation.
|
||||
//!
|
||||
|
||||
use core::cmp;
|
||||
use core::ops::Index;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
//! SipHash 2-4 implementation.
|
||||
//!
|
||||
|
||||
use core::ops::Index;
|
||||
use core::slice::SliceIndex;
|
||||
|
|
Loading…
Reference in New Issue