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:
    ACK 52bea9f6a4

Tree-SHA512: 66f9e89e1b11c4688b9d7b19e8ffb329f49aa5b32765b73540f90e12f1dd329de6307e8bdedcb9dffa527817dccbb46fa75912b7cad11bc0ab06a95632728f98
This commit is contained in:
Andrew Poelstra 2024-05-22 15:02:44 +00:00
commit 9f5697a5bd
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
11 changed files with 0 additions and 11 deletions

View File

@ -6,7 +6,6 @@
// contents here as CC0. // contents here as CC0.
//! HASH160 (SHA256 then RIPEMD160) implementation. //! HASH160 (SHA256 then RIPEMD160) implementation.
//!
use core::ops::Index; use core::ops::Index;
use core::slice::SliceIndex; use core::slice::SliceIndex;

View File

@ -6,7 +6,6 @@
// contents here as CC0. // contents here as CC0.
//! Hash-based Message Authentication Code (HMAC). //! Hash-based Message Authentication Code (HMAC).
//!
use core::{convert, fmt, str}; use core::{convert, fmt, str};

View File

@ -3,7 +3,6 @@
//! `std` / `io` Impls. //! `std` / `io` Impls.
//! //!
//! Implementations of traits defined in `std` / `io` and not in `core`. //! Implementations of traits defined in `std` / `io` and not in `core`.
//!
use bitcoin_io::impl_write; use bitcoin_io::impl_write;

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! RIPEMD160 implementation. //! RIPEMD160 implementation.
//!
use core::cmp; use core::cmp;
use core::ops::Index; use core::ops::Index;

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! Macros for serde trait implementations, and supporting code. //! Macros for serde trait implementations, and supporting code.
//!
/// Functions used by serde impls of all hashes. /// Functions used by serde impls of all hashes.
#[cfg(feature = "serde")] #[cfg(feature = "serde")]

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! SHA1 implementation. //! SHA1 implementation.
//!
use core::cmp; use core::cmp;
use core::ops::Index; use core::ops::Index;

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! SHA256 implementation. //! SHA256 implementation.
//!
#[cfg(all(feature = "std", target_arch = "x86"))] #[cfg(all(feature = "std", target_arch = "x86"))]
use core::arch::x86::*; use core::arch::x86::*;

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! SHA256d implementation (double SHA256). //! SHA256d implementation (double SHA256).
//!
use core::ops::Index; use core::ops::Index;
use core::slice::SliceIndex; use core::slice::SliceIndex;

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! SHA256t implementation (tagged SHA256). //! SHA256t implementation (tagged SHA256).
//!
use core::cmp; use core::cmp;
use core::marker::PhantomData; use core::marker::PhantomData;

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! SHA512 implementation. //! SHA512 implementation.
//!
use core::cmp; use core::cmp;
use core::ops::Index; use core::ops::Index;

View File

@ -1,7 +1,6 @@
// SPDX-License-Identifier: CC0-1.0 // SPDX-License-Identifier: CC0-1.0
//! SipHash 2-4 implementation. //! SipHash 2-4 implementation.
//!
use core::ops::Index; use core::ops::Index;
use core::slice::SliceIndex; use core::slice::SliceIndex;