diff --git a/src/lib.rs b/src/lib.rs index 61b1444..5cc9322 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -120,7 +120,7 @@ impl KmerCountTable { } #[pymodule] -fn oxli(_py: Python, m: &PyModule) -> PyResult<()> { +fn oxli(m: &Bound<'_, PyModule>) -> PyResult<()> { m.add_class::()?; Ok(()) }