Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Dec 4, 2020
1 parent cd4e3fc commit 2e24c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion digest/src/core_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<D: UpdateCore> {
Expand Down
6 changes: 2 additions & 4 deletions digest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2e24c12

Please sign in to comment.