Skip to content

Commit fb1d4f1

Browse files
author
Jorge Aparicio
committed
librustdoc: convert Counts binops to by value
1 parent eb71976 commit fb1d4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/stability_summary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub struct Counts {
4242
impl Copy for Counts {}
4343

4444
impl Add<Counts, Counts> for Counts {
45-
fn add(&self, other: &Counts) -> Counts {
45+
fn add(self, other: Counts) -> Counts {
4646
Counts {
4747
deprecated: self.deprecated + other.deprecated,
4848
experimental: self.experimental + other.experimental,

0 commit comments

Comments
 (0)