Skip to content

Commit 83ed374

Browse files
committed
fix(python): fix pyo3 upgrade
1 parent 8165b04 commit 83ed374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glslt/src/api/python.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl PyMinUnit {
152152
}
153153

154154
#[pymodule]
155-
fn glslt(_py: Python, m: &PyModule) -> PyResult<()> {
155+
fn glslt(_py: Python, m: &Bound<PyModule>) -> PyResult<()> {
156156
/// Parse a string as GLSL source
157157
///
158158
/// # Parameters

0 commit comments

Comments
 (0)