rust: remove an unnecessary set of parentheses
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 27 Jan 2020 12:38:59 -0800
changeset 44193 3c265cef6edc
parent 44192 d6d4170882cd
child 44194 d4c1501225c4
rust: remove an unnecessary set of parentheses My build complained about this. I guess it started after I upgraded rustc. Differential Revision: https://phab.mercurial-scm.org/D8020
rust/hg-core/src/dirstate/status.rs
--- a/rust/hg-core/src/dirstate/status.rs	Mon Jan 27 18:16:05 2020 -0800
+++ b/rust/hg-core/src/dirstate/status.rs	Mon Jan 27 12:38:59 2020 -0800
@@ -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,