diff rust/hg-core/src/dirstate.rs @ 52866:c917656a259d

rust-pyo3-dirstate: CopyMap iterators This requires yet another `Sync` marker in `hg-core`. Of course we are leveraging the new `py_shared_iterator!` for this.
author Georges Racinet <georges.racinet@cloudcrane.io>
date Tue, 04 Feb 2025 13:36:42 +0100
parents c5773445d350
children
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate.rs	Tue Feb 04 10:42:26 2025 +0100
+++ b/rust/hg-core/src/dirstate.rs	Tue Feb 04 13:36:42 2025 +0100
@@ -53,6 +53,7 @@
 pub type CopyMapIter<'a> = Box<
     dyn Iterator<Item = Result<(&'a HgPath, &'a HgPath), DirstateV2ParseError>>
         + Send
+        + Sync
         + 'a,
 >;