bool: rm functions duplicating methods
This commit is contained in:
parent
2a30c000e8
commit
1dc4ea004e
3 changed files with 39 additions and 50 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue