Explorar el Código

Remove a stale doc comment on `set_zero()`

Josh Stone hace 6 años
padre
commit
09e27abaa0
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/identities.rs

+ 0 - 1
src/identities.rs

@@ -20,7 +20,6 @@ pub trait Zero: Sized + Add<Self, Output = Self> {
     fn zero() -> Self;
 
     /// Sets `self` to the additive identity element of `Self`, `0`.
-    /// Returns `&mut self` to enable method chaining.
     fn set_zero(&mut self) {
         *self = Zero::zero();
     }