Explorar o código

Remove a stale doc comment on `set_zero()`

Josh Stone %!s(int64=6) %!d(string=hai) anos
pai
achega
09e27abaa0
Modificáronse 1 ficheiros con 0 adicións e 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();
     }