auto merge of #4884 : pcwalton/rust/pretty-print-new-impl-syntax, r=pcwalton

r? @brson
This commit is contained in:
bors 2013-02-13 15:49:01 -08:00
commit c51ecc3223
3 changed files with 6 additions and 4 deletions

View file

@ -14,7 +14,7 @@ struct cat {
name: ~str,
}
impl cat: Drop {
impl Drop for cat {
#[cat_dropper]
fn finalize(&self) { error!("%s landed on hir feet" , self . name); }
}

View file

@ -19,7 +19,7 @@ trait frobable {
}
#[int_frobable]
impl int: frobable {
impl frobable for int {
#[frob_attr1]
fn frob() {
#[frob_attr2];