Skip to content
Snippets Groups Projects
Unverified Commit 6bd6e048 authored by Diggory Hardy's avatar Diggory Hardy Committed by GitHub
Browse files

Merge pull request #111 from josephlr/fmt

Run Rustfmt
parents fa6f929a 3b6c90ca
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment