提交 7fb5f41b 编写于 作者: T Tim Chevalier

Update test for new struct field syntax (fixes build breakage)

上级 6d3d4b90
......@@ -5,7 +5,7 @@ struct cat {
new(name: ~str) { self.name = name; }
#[cat_dropper]
drop { error!("%s landed on hir feet",self.name); }
name: ~str;
name: ~str,
}
fn main() { let _kitty = cat(~"Spotty"); }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册