Remove a stale doc comment on `set_zero()`
This commit is contained in:
parent
87d4dbc418
commit
09e27abaa0
|
@ -20,7 +20,6 @@ pub trait Zero: Sized + Add<Self, Output = Self> {
|
||||||
fn zero() -> Self;
|
fn zero() -> Self;
|
||||||
|
|
||||||
/// Sets `self` to the additive identity element of `Self`, `0`.
|
/// Sets `self` to the additive identity element of `Self`, `0`.
|
||||||
/// Returns `&mut self` to enable method chaining.
|
|
||||||
fn set_zero(&mut self) {
|
fn set_zero(&mut self) {
|
||||||
*self = Zero::zero();
|
*self = Zero::zero();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue