1 2 3 4 5 6 7 8 9 10
use std::ops::Add; use super::Version; impl Add<Version> for Version { type Output = Self; fn add(self, rhs: Version) -> Self::Output { Self(self.0 + rhs.0) } }