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.
1 parent b102d20 commit e5e440eCopy full SHA for e5e440e
src/random.rs
@@ -194,10 +194,10 @@ impl<'py> PyBitGeneratorGuard {
194
#[cfg(feature = "rand")]
195
impl rand::RngCore for PyBitGeneratorGuard {
196
fn next_u32(&mut self) -> u32 {
197
- self.next_u32()
+ PyBitGeneratorGuard::next_u32(self)
198
}
199
fn next_u64(&mut self) -> u64 {
200
- self.next_u64()
+ PyBitGeneratorGuard::next_u64(self)
201
202
fn fill_bytes(&mut self, dst: &mut [u8]) {
203
rand::rand_core::impls::fill_bytes_via_next(self, dst)
0 commit comments