Skip to content

Commit 091d367

Browse files
committed
Update file to work with newer version of pyo3 library
1 parent 7aeb1ca commit 091d367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn GetNavigationMathML(_py: Python) -> PyResult<(String, usize)> {
156156
}
157157

158158
#[pymodule]
159-
fn libmathcat(_py: Python, m: &PyModule) -> PyResult<()> {
159+
fn libmathcat_py(m: &Bound<'_, PyModule>) -> PyResult<()> {
160160
m.add_function(wrap_pyfunction!(SetRulesDir, m)?)?;
161161
m.add_function(wrap_pyfunction!(SetMathML, m)?)?;
162162
m.add_function(wrap_pyfunction!(GetVersion, m)?)?;

0 commit comments

Comments
 (0)