D8020: rust: remove an unnecessary set of parentheses

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Jan 29 18:18:40 EST 2020


Closed by commit rHG3c265cef6edc: rust: remove an unnecessary set of parentheses (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8020?vs=19649&id=19679

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8020/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8020

AFFECTED FILES
  rust/hg-core/src/dirstate/status.rs

CHANGE DETAILS

diff --git a/rust/hg-core/src/dirstate/status.rs b/rust/hg-core/src/dirstate/status.rs
--- a/rust/hg-core/src/dirstate/status.rs
+++ b/rust/hg-core/src/dirstate/status.rs
@@ -272,7 +272,7 @@
 
 pub fn status<'a: 'c, 'b: 'c, 'c>(
     dmap: &'a DirstateMap,
-    matcher: &'b (impl Matcher),
+    matcher: &'b impl Matcher,
     root_dir: impl AsRef<Path> + Sync + Send + Copy,
     list_clean: bool,
     last_normal_time: i64,



To: martinvonz, #hg-reviewers
Cc: kevincox, mercurial-devel


More information about the Mercurial-devel mailing list