We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc937a4 commit 6ba85ffCopy full SHA for 6ba85ff
1 file changed
src/windows_uwp.rs
@@ -41,7 +41,7 @@ pub fn getrandom_inner(dest: &mut [u8]) -> Result<(), Error> {
41
// We zeroize the highest bit, so the error code will reside
42
// inside the range designated for OS codes.
43
// SAFETY: the second highest bit is always equal to one,
44
- // so it's impossible to get zero value. Unfortunately compiler
+ // so it's impossible to get zero. Unfortunately compiler
45
// is not smart enough to figure out it yet.
46
let code = unsafe {
47
NonZeroU32::new_unchecked(ret & (u32::MAX >> 1))
0 commit comments