Patchwork D8020: rust: remove an unnecessary set of parentheses

login
register
mail settings
Submitter phabricator
Date Jan. 29, 2020, 11:18 p.m.
Message ID <94de493049d3915869e837043f14225e@localhost.localdomain>
Download mbox | patch
Permalink /patch/44740/
State Not Applicable
Headers show

Comments

phabricator - Jan. 29, 2020, 11:18 p.m.
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




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

Patch

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,