diff options
Diffstat (limited to 'src/libcore/num.rs')
| -rw-r--r-- | src/libcore/num.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libcore/num.rs b/src/libcore/num.rs index a06c4e419e5..c414d6190c8 100644 --- a/src/libcore/num.rs +++ b/src/libcore/num.rs @@ -1,7 +1,6 @@ /// An interface for numbers. trait Num { - // FIXME: Cross-crate overloading doesn't work yet. (#2615) // FIXME: Trait composition. (#2616) pure fn add(&&other: self) -> self; pure fn sub(&&other: self) -> self; @@ -11,7 +10,5 @@ trait Num { pure fn neg() -> self; pure fn to_int() -> int; - pure fn from_int(n: int) -> self; // FIXME (#2376) Static functions. - // n.b. #2376 is for classes, not traits, but it could be generalized... + static pure fn from_int(n: int) -> self; } - |
