1
Fork 0

librustc: Change self as a type to Self everywhere. r=brson

This commit is contained in:
Patrick Walton 2013-01-30 19:42:06 -08:00
parent 63b2b9c4a8
commit 366812a5c3
41 changed files with 87 additions and 90 deletions

View file

@ -111,7 +111,7 @@ pub trait Encodable<S: Encoder> {
}
pub trait Decodable<D: Decoder> {
static fn decode(&self, d: &D) -> self;
static fn decode(&self, d: &D) -> Self;
}
pub impl<S: Encoder> uint: Encodable<S> {