auto merge of #4884 : pcwalton/rust/pretty-print-new-impl-syntax, r=pcwalton
r? @brson
This commit is contained in:
commit
c51ecc3223
3 changed files with 6 additions and 4 deletions
|
|
@ -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); }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ trait frobable {
|
|||
}
|
||||
|
||||
#[int_frobable]
|
||||
impl int: frobable {
|
||||
impl frobable for int {
|
||||
#[frob_attr1]
|
||||
fn frob() {
|
||||
#[frob_attr2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue