changeset 44193:3c265cef6edc

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
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 27 Jan 2020 12:38:59 -0800
parents d6d4170882cd
children d4c1501225c4
files rust/hg-core/src/dirstate/status.rs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,