Skip to content

Commit

Permalink
auto merge of #10285 : sfackler/rust/weird-derivings, r=huonw
Browse files Browse the repository at this point in the history
They seem to have been added by accident.
  • Loading branch information
bors committed Nov 5, 2013
2 parents 379bda9 + 6184e84 commit 92065ce
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libsyntax/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ impl<S:Encoder> Encodable<S> for Ident {
}
}

#[deriving(IterBytes)]
impl<D:Decoder> Decodable<D> for Ident {
fn decode(d: &mut D) -> Ident {
str_to_ident(d.read_str())
Expand Down Expand Up @@ -807,7 +806,6 @@ pub enum Onceness {
Many
}

#[deriving(IterBytes)]
impl ToStr for Onceness {
fn to_str(&self) -> ~str {
match *self {
Expand Down Expand Up @@ -902,7 +900,6 @@ pub enum purity {
extern_fn, // declared with "extern fn"
}

#[deriving(IterBytes)]
impl ToStr for purity {
fn to_str(&self) -> ~str {
match *self {
Expand Down

0 comments on commit 92065ce

Please sign in to comment.