diff --git a/digest/src/core_api.rs b/digest/src/core_api.rs index 1fb11b136..bae402b0d 100644 --- a/digest/src/core_api.rs +++ b/digest/src/core_api.rs @@ -58,7 +58,7 @@ pub trait ExtendableOutputCore: crate::UpdateCore { } /// Wrapper around core trait implementations. -/// +/// /// It handles data buffering and implements the mid-level traits. #[derive(Clone, Default)] pub struct CoreWrapper { diff --git a/digest/src/lib.rs b/digest/src/lib.rs index f32fcca38..189a57860 100644 --- a/digest/src/lib.rs +++ b/digest/src/lib.rs @@ -52,13 +52,11 @@ mod digest; mod dyn_digest; #[cfg(feature = "core-api")] -pub use crate::core_api::{ - CoreWrapper, ExtendableOutputCore, FixedOutputCore, UpdateCore, -}; +pub use crate::core_api::{CoreWrapper, ExtendableOutputCore, FixedOutputCore, UpdateCore}; pub use crate::digest::{Digest, Output}; #[cfg(feature = "alloc")] pub use dyn_digest::DynDigest; -pub use generic_array::{self, ArrayLength, typenum::consts, GenericArray}; +pub use generic_array::{self, typenum::consts, ArrayLength, GenericArray}; /// Trait for updating hasher state with input data. pub trait Update {