bool: rm functions duplicating methods

This commit is contained in:
Daniel Micay 2013-05-31 11:54:15 -04:00
parent 2a30c000e8
commit 1dc4ea004e
3 changed files with 39 additions and 50 deletions

View file

@ -517,7 +517,7 @@ impl TyVisitor for my_visitor {
fn visit_nil(&self) -> bool { true }
fn visit_bool(&self) -> bool {
do self.get::<bool>() |b| {
self.vals.push(bool::to_str(b));
self.vals.push(b.to_str());
};
true
}