fix: Don't pass a unit value to a function arg
@@ -241,7 +241,8 @@ impl rand::RngCore for ZeroRng {
}
fn try_fill_bytes(&mut self, dest: &mut [u8]) -> std::result::Result<(), rand::Error> {
- Ok(self.fill_bytes(dest))
+ self.fill_bytes(dest);
+ Ok(())
}
}
