auto merge of #10285 : sfackler/rust/weird-derivings, r=huonw

They seem to have been added by accident.
This commit is contained in:
bors
2013-11-05 01:47:43 -08:00

View File

@@ -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())
@@ -807,7 +806,6 @@ pub enum Onceness {
Many
}
#[deriving(IterBytes)]
impl ToStr for Onceness {
fn to_str(&self) -> ~str {
match *self {
@@ -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 {