Update outdated FIXME
This commit is contained in:
parent
bb67a3d03a
commit
2836cfc9ab
|
@ -17,7 +17,7 @@ pub trait Zero: Sized + Add<Self, Output = Self> {
|
||||||
/// This function should return the same result at all times regardless of
|
/// This function should return the same result at all times regardless of
|
||||||
/// external mutable state, for example values stored in TLS or in
|
/// external mutable state, for example values stored in TLS or in
|
||||||
/// `static mut`s.
|
/// `static mut`s.
|
||||||
// FIXME (#5527): This should be an associated constant
|
// This cannot be an associated constant, because of bignums.
|
||||||
fn zero() -> Self;
|
fn zero() -> Self;
|
||||||
|
|
||||||
/// Returns `true` if `self` is equal to the additive identity.
|
/// Returns `true` if `self` is equal to the additive identity.
|
||||||
|
@ -77,7 +77,7 @@ pub trait One: Sized + Mul<Self, Output = Self> {
|
||||||
/// This function should return the same result at all times regardless of
|
/// This function should return the same result at all times regardless of
|
||||||
/// external mutable state, for example values stored in TLS or in
|
/// external mutable state, for example values stored in TLS or in
|
||||||
/// `static mut`s.
|
/// `static mut`s.
|
||||||
// FIXME (#5527): This should be an associated constant
|
// This cannot be an associated constant, because of bignums.
|
||||||
fn one() -> Self;
|
fn one() -> Self;
|
||||||
|
|
||||||
/// Returns `true` if `self` is equal to the multiplicative identity.
|
/// Returns `true` if `self` is equal to the multiplicative identity.
|
||||||
|
|
Loading…
Reference in New Issue