std: Rename result::methods to result::extensions

This commit is contained in:
Erick Tryzelaar
2012-04-01 15:43:48 -07:00
parent 44c7386376
commit 2ad20df40b
2 changed files with 3 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ fn chain_err<T: copy, U: copy, V: copy>(
}
}
impl methods<T:copy,E:copy> for result<T,E> {
impl extensions<T:copy, E:copy> for result<T,E> {
fn chain<U:copy>(op: fn(T) -> result<U,E>) -> result<U,E> {
chain(self, op)
}