librustc: Change self
as a type to Self
everywhere. r=brson
This commit is contained in:
parent
63b2b9c4a8
commit
366812a5c3
41 changed files with 87 additions and 90 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue