Skip to content

Commit bde2553

Browse files
committed
order
1 parent d1909d3 commit bde2553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/random.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ use crate::npyffi::npy_bitgen;
1717
#[repr(transparent)]
1818
pub struct PyBitGenerator(PyAny);
1919

20+
impl DerefToPyAny for PyBitGenerator {}
21+
2022
unsafe impl PyTypeInfo for PyBitGenerator {
2123
const NAME: &'static str = "PyBitGenerator";
2224
const MODULE: Option<&'static str> = Some("numpy.random");
@@ -38,8 +40,6 @@ unsafe impl PyTypeInfo for PyBitGenerator {
3840
}
3941
}
4042

41-
impl DerefToPyAny for PyBitGenerator {}
42-
4343
/// Methods for [`BitGenerator`]
4444
pub trait BitGeneratorMethods<'py> {
4545
/// Returns a new [`BitGen`]

0 commit comments

Comments
 (0)