auto merge of #7842 : thestinger/rust/closure, r=huonw

This commit is contained in:
bors 2013-07-18 08:37:39 -07:00
commit 559d2ef925
7 changed files with 24 additions and 57 deletions

View file

@ -181,13 +181,6 @@ impl<V:TyVisitor + movable_ptr> TyVisitor for ptr_visit_adaptor<V> {
true
}
fn visit_str(&self) -> bool {
self.align_to::<~str>();
if ! self.inner.visit_str() { return false; }
self.bump_past::<~str>();
true
}
fn visit_estr_box(&self) -> bool {
self.align_to::<@str>();
if ! self.inner.visit_estr_box() { return false; }
@ -556,7 +549,6 @@ impl TyVisitor for my_visitor {
fn visit_f64(&self) -> bool { true }
fn visit_char(&self) -> bool { true }
fn visit_str(&self) -> bool { true }
fn visit_estr_box(&self) -> bool { true }
fn visit_estr_uniq(&self) -> bool { true }

View file

@ -59,7 +59,6 @@ impl TyVisitor for MyVisitor {
fn visit_f64(&self) -> bool { true }
fn visit_char(&self) -> bool { true }
fn visit_str(&self) -> bool { true }
fn visit_estr_box(&self) -> bool { true }
fn visit_estr_uniq(&self) -> bool { true }