changeset 45610 | 496537c9c1b4 |
parent 45111 | 7528699c6ccb |
child 45861 | c9c3c277e5a5 |
--- a/rust/hg-cpython/src/dirstate/status.rs Wed Sep 30 18:10:53 2020 +0200 +++ b/rust/hg-cpython/src/dirstate/status.rs Wed Sep 30 18:10:29 2020 +0200 @@ -159,7 +159,7 @@ .collect(); let files = files?; - let matcher = FileMatcher::new(&files) + let matcher = FileMatcher::new(files.as_ref()) .map_err(|e| PyErr::new::<ValueError, _>(py, e.to_string()))?; let ((lookup, status_res), warnings) = status( &dmap,