Skip to content

Commit

Permalink
run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
stevefan1999-personal committed Sep 25, 2024
1 parent e641e7d commit 640a9ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ impl RngCore for CryptoProviderRng {
}

fn fill_bytes(&mut self, dest: &mut [u8]) {
self.try_fill_bytes(dest).expect("random bytes should be filled")
self.try_fill_bytes(dest)
.expect("random bytes should be filled")
}

fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), rand_core::Error> {
Expand Down

0 comments on commit 640a9ef

Please sign in to comment.