libsyntax: Stop parsing pure and static

This commit is contained in:
Patrick Walton 2013-03-22 12:56:10 -07:00
parent d60a7259f9
commit fa70709e07
5 changed files with 26 additions and 8 deletions

View file

@ -11,14 +11,14 @@
pub mod num {
pub trait Num2 {
static fn from_int2(n: int) -> Self;
fn from_int2(n: int) -> Self;
}
}
pub mod float {
impl ::num::Num2 for float {
#[inline]
static fn from_int2(n: int) -> float { return n as float; }
fn from_int2(n: int) -> float { return n as float; }
}
}