rust/hg-cpython/src/revlog.rs
changeset 51233 ca81cd96000a
parent 51232 3551f2a1c963
child 51234 59183a19954e
--- a/rust/hg-cpython/src/revlog.rs	Tue Oct 31 18:09:43 2023 +0100
+++ b/rust/hg-cpython/src/revlog.rs	Thu Oct 26 15:26:19 2023 +0200
@@ -520,7 +520,7 @@
     data: PyObject,
 ) -> PyResult<(
     PyBuffer,
-    Box<dyn std::ops::Deref<Target = [u8]> + Send + 'static>,
+    Box<dyn std::ops::Deref<Target = [u8]> + Send + Sync + 'static>,
 )> {
     let buf = PyBuffer::get(py, &data)?;
     let len = buf.item_count();