Skip to content

Commit

Permalink
Tweak formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jun 8, 2023
1 parent 40bc0ae commit 6162aca
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions belt-ctr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ where
s_init: u128,
}

impl<C: BlockEncrypt + BlockSizeUser<BlockSize = U16>> fmt::Debug for BeltCtrCore<C> {
#[inline]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str("BeltCtrCore { ... }")
}
}
impl<C> StreamCipherCore for BeltCtrCore<C>
where
C: BlockEncrypt + BlockSizeUser<BlockSize = U16>,
Expand Down Expand Up @@ -117,3 +111,10 @@ where
t
}
}

impl<C: BlockEncrypt + BlockSizeUser<BlockSize = U16>> fmt::Debug for BeltCtrCore<C> {
#[inline]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str("BeltCtrCore { ... }")
}
}

0 comments on commit 6162aca

Please sign in to comment.