Skip to content

Commit 9730ed9

Browse files
committed
std: Add a fixme for when we add Trait::<for T>::static_method()
1 parent 66e3a4c commit 9730ed9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/num/num.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ pub trait Primitive: Num
285285
+ Div<Self,Self>
286286
+ Rem<Self,Self> {
287287
// FIXME (#5527): These should be associated constants
288+
// FIXME (#8888): Removing `unused_self` requires #8888 to be fixed.
288289
fn bits(unused_self: Option<Self>) -> uint;
289290
fn bytes(unused_self: Option<Self>) -> uint;
290291
}
@@ -327,6 +328,7 @@ pub trait Float: Real
327328
fn is_normal(&self) -> bool;
328329
fn classify(&self) -> FPCategory;
329330

331+
// FIXME (#8888): Removing `unused_self` requires #8888 to be fixed.
330332
fn mantissa_digits(unused_self: Option<Self>) -> uint;
331333
fn digits(unused_self: Option<Self>) -> uint;
332334
fn epsilon() -> Self;

0 commit comments

Comments
 (0)