librustdoc: convert Counts binops to by value

This commit is contained in:
Jorge Aparicio 2014-12-01 16:47:48 -05:00
parent eb71976137
commit fb1d4f1b13

View File

@ -42,7 +42,7 @@ pub struct Counts {
impl Copy for Counts {}
impl Add<Counts, Counts> for Counts {
fn add(&self, other: &Counts) -> Counts {
fn add(self, other: Counts) -> Counts {
Counts {
deprecated: self.deprecated + other.deprecated,
experimental: self.experimental + other.experimental,