From 3b6c90ca2471caafeab9206200269a39198641d6 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Sat, 21 Sep 2019 19:32:47 -0700 Subject: [PATCH] Run Rustfmt and make formatting error fail the CI --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 421cf4cb..6cb589da 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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) }