Skip to content

Commit 92065ce

Browse files
committed
auto merge of #10285 : sfackler/rust/weird-derivings, r=huonw
They seem to have been added by accident.
2 parents 379bda9 + 6184e84 commit 92065ce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libsyntax/ast.rs

-3
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ impl<S:Encoder> Encodable<S> for Ident {
119119
}
120120
}
121121

122-
#[deriving(IterBytes)]
123122
impl<D:Decoder> Decodable<D> for Ident {
124123
fn decode(d: &mut D) -> Ident {
125124
str_to_ident(d.read_str())
@@ -807,7 +806,6 @@ pub enum Onceness {
807806
Many
808807
}
809808

810-
#[deriving(IterBytes)]
811809
impl ToStr for Onceness {
812810
fn to_str(&self) -> ~str {
813811
match *self {
@@ -902,7 +900,6 @@ pub enum purity {
902900
extern_fn, // declared with "extern fn"
903901
}
904902

905-
#[deriving(IterBytes)]
906903
impl ToStr for purity {
907904
fn to_str(&self) -> ~str {
908905
match *self {

0 commit comments

Comments
 (0)