summaryrefslogtreecommitdiffstats
path: root/grep-printer/src/stats.rs
diff options
context:
space:
mode:
Diffstat (limited to 'grep-printer/src/stats.rs')
-rw-r--r--grep-printer/src/stats.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/grep-printer/src/stats.rs b/grep-printer/src/stats.rs
index a62aead9..0fd723a1 100644
--- a/grep-printer/src/stats.rs
+++ b/grep-printer/src/stats.rs
@@ -34,8 +34,8 @@ impl<'a> Add<&'a Stats> for Stats {
Stats {
elapsed: NiceDuration(self.elapsed.0 + rhs.elapsed.0),
searches: self.searches + rhs.searches,
- searches_with_match:
- self.searches_with_match + rhs.searches_with_match,
+ searches_with_match: self.searches_with_match
+ + rhs.searches_with_match,
bytes_searched: self.bytes_searched + rhs.bytes_searched,
bytes_printed: self.bytes_printed + rhs.bytes_printed,
matched_lines: self.matched_lines + rhs.matched_lines,