Skip to content

Commit 6dbb6dc

Browse files
committed
static
1 parent a92861a commit 6dbb6dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/random.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ unsafe impl PyTypeInfo for PyBitGenerator {
7676
const MODULE: Option<&'static str> = Some("numpy.random");
7777

7878
fn type_object_raw<'py>(py: Python<'py>) -> *mut ffi::PyTypeObject {
79-
const CLS: GILOnceCell<Py<PyType>> = GILOnceCell::new();
79+
static CLS: GILOnceCell<Py<PyType>> = GILOnceCell::new();
8080
let cls = CLS
8181
.get_or_try_init::<_, PyErr>(py, || {
8282
Ok(py

0 commit comments

Comments
 (0)