summary refs log tree commit diff
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-05-13 12:12:54 +0100
committerErik Johnston <erik@matrix.org>2024-05-13 12:12:54 +0100
commit784c048aa407b163d825b0da5e6ea69fed9c995e (patch)
tree4a0ef50f84d9dbf76077588bc48fd1304a39e64a /rust/src/lib.rs
parentMerge remote-tracking branch 'origin/release-v1.107' into matrix-org-hotfixes (diff)
parentFix bug with creating public rooms on workers (#17177) (diff)
downloadsynapse-784c048aa407b163d825b0da5e6ea69fed9c995e.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'rust/src/lib.rs')
-rw-r--r--rust/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs

index 9bd1f17ad9..06477880b9 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs
@@ -38,7 +38,7 @@ fn reset_logging_config() { /// The entry point for defining the Python module. #[pymodule] -fn synapse_rust(py: Python<'_>, m: &PyModule) -> PyResult<()> { +fn synapse_rust(py: Python<'_>, m: &Bound<'_, PyModule>) -> PyResult<()> { m.add_function(wrap_pyfunction!(sum_as_string, m)?)?; m.add_function(wrap_pyfunction!(get_rust_file_digest, m)?)?; m.add_function(wrap_pyfunction!(reset_logging_config, m)?)?;