libsyntax: Stop parsing pure and static
This commit is contained in:
parent
d60a7259f9
commit
fa70709e07
5 changed files with 26 additions and 8 deletions
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue