Merge #62
62: Update outdated FIXME r=cuviper a=vks Co-authored-by: Vinzent Steinberg <vinzent.steinberg@gmail.com>
This commit is contained in:
commit
97f3892bd1
|
@ -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