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

@ -2119,9 +2119,9 @@ pub mod raw {
}
pub trait Trimmable {
pure fn trim() -> self;
pure fn trim_left() -> self;
pure fn trim_right() -> self;
pure fn trim() -> Self;
pure fn trim_left() -> Self;
pure fn trim_right() -> Self;
}
/// Extension methods for strings