std: Add a fixme for when we add Trait::<for T>::static_method()

This commit is contained in:
Erick Tryzelaar 2013-08-30 15:04:20 -07:00
parent 66e3a4c50e
commit 9730ed9b02

View File

@ -285,6 +285,7 @@ pub trait Primitive: Num
+ Div<Self,Self>
+ Rem<Self,Self> {
// FIXME (#5527): These should be associated constants
// FIXME (#8888): Removing `unused_self` requires #8888 to be fixed.
fn bits(unused_self: Option<Self>) -> uint;
fn bytes(unused_self: Option<Self>) -> uint;
}
@ -327,6 +328,7 @@ pub trait Float: Real
fn is_normal(&self) -> bool;
fn classify(&self) -> FPCategory;
// FIXME (#8888): Removing `unused_self` requires #8888 to be fixed.
fn mantissa_digits(unused_self: Option<Self>) -> uint;
fn digits(unused_self: Option<Self>) -> uint;
fn epsilon() -> Self;