Removed //! spare line at end of headers

Some of the headers had a //! at the end but most didn't. They have all been removed in hashes/src/ to make the files consistent
This commit is contained in:
jamil.lambert 2024-05-22 12:00:25 +01:00
parent eb28c16d87
commit 52bea9f6a4
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;