Kill compiler warnings
This commit is contained in:
parent
c36bc3377e
commit
f014c1a9d9
@ -7,8 +7,7 @@ struct Varmap {
|
|||||||
|
|
||||||
impl Varmap {
|
impl Varmap {
|
||||||
fn new() -> Varmap {
|
fn new() -> Varmap {
|
||||||
let mut map = HashMap::new();
|
Varmap { map: HashMap::new()}
|
||||||
Varmap { map: map }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -80,7 +79,7 @@ impl Evaluable for ASTNode {
|
|||||||
use parser::ASTNode::*;
|
use parser::ASTNode::*;
|
||||||
match self {
|
match self {
|
||||||
&ExprNode(ref expr) => expr.is_reducible(),
|
&ExprNode(ref expr) => expr.is_reducible(),
|
||||||
&FuncNode(ref function) => true,
|
&FuncNode(_) => true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user