We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e2b0c0 + e5f9296 commit 89b268eCopy full SHA for 89b268e
src/rngs/thread.rs
@@ -112,8 +112,8 @@ impl RngCore for ThreadRng {
112
unsafe { (*self.rng.get()).next_u64() }
113
}
114
115
- fn fill_bytes(&mut self, bytes: &mut [u8]) {
116
- unsafe { (*self.rng.get()).fill_bytes(bytes) }
+ fn fill_bytes(&mut self, dest: &mut [u8]) {
+ unsafe { (*self.rng.get()).fill_bytes(dest) }
117
118
119
fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
0 commit comments