Kill compiler warnings

This commit is contained in:
greg 2016-01-24 16:10:18 -08:00
parent c36bc3377e
commit f014c1a9d9
1 changed files with 2 additions and 3 deletions

View File

@ -7,8 +7,7 @@ struct Varmap {
impl Varmap {
fn new() -> Varmap {
let mut map = HashMap::new();
Varmap { map: map }
Varmap { map: HashMap::new()}
}
}
@ -80,7 +79,7 @@ impl Evaluable for ASTNode {
use parser::ASTNode::*;
match self {
&ExprNode(ref expr) => expr.is_reducible(),
&FuncNode(ref function) => true,
&FuncNode(_) => true,
}
}
}