# HG changeset patch # User Raphaël Gomès # Date 1727716362 -7200 # Node ID b8b3984deae36c78ff618c321d21725a98ab49ab # Parent b7d99348ea3625a96476103f8f6805f1721d8a10 rust-files: add a `Sync` bound to the matcher This enables us to use this code in multithreaded environements, which we very much want to do. diff -r b7d99348ea36 -r b8b3984deae3 rust/hg-core/src/operations/list_tracked_files.rs --- a/rust/hg-core/src/operations/list_tracked_files.rs Mon Sep 30 12:10:35 2024 +0200 +++ b/rust/hg-core/src/operations/list_tracked_files.rs Mon Sep 30 19:12:42 2024 +0200 @@ -20,7 +20,7 @@ pub fn list_rev_tracked_files( repo: &Repo, revset: &str, - narrow_matcher: Box, + narrow_matcher: Box, ) -> Result { let rev = crate::revset::resolve_single(revset, repo)?; Ok(FilesForRev { @@ -31,7 +31,7 @@ pub struct FilesForRev { manifest: Manifest, - narrow_matcher: Box, + narrow_matcher: Box, } /// Like [`crate::revlog::manifest::ManifestEntry`], but with the `Node`