From 13af85ed6ba84eab28bea5047fda55e6e765c6a7 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 8 Jan 2020 07:46:14 -0800 Subject: [PATCH] Run rustfmt --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6cc1ea2..72eb33f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -844,7 +844,10 @@ mod imp { for chunk in dest.chunks_mut(u32::max_value() as usize) { let ret = unsafe { RtlGenRandom(chunk.as_mut_ptr(), chunk.len() as u32) }; if ret == 0 { - return Err(io::Error::new(io::ErrorKind::Other, "failed to generate random bytes")); + return Err(io::Error::new( + io::ErrorKind::Other, + "failed to generate random bytes", + )); } } Ok(())