Skip to content

Commit

Permalink
Merge pull request #111 from josephlr/fmt
Browse files Browse the repository at this point in the history
Run Rustfmt
  • Loading branch information
dhardy authored Sep 23, 2019
2 parents fa6f929 + 3b6c90c commit 6bd6e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ cfg_if! {
/// [`rand::thread_rng`](https://docs.rs/rand/*/rand/fn.thread_rng.html).
pub fn getrandom(dest: &mut [u8]) -> Result<(), error::Error> {
if dest.is_empty() {
return Ok(())
return Ok(());
}
imp::getrandom_inner(dest)
}

0 comments on commit 6bd6e04

Please sign in to comment.