Files
rust/src
Cody P Schafer 07dc8d67c9 Result::or : avoid over-specializing the type
Changes .or() so that it can return a Result with a different E type
than the one it is called on.

Essentially:

    fn or(self, res: Result<T, E>) -> Result<T, E>

becomes

    fn or<F>(self, res: Result<T, F>) -> Result<T, F>

This brings `or` in line with the existing `and` and `or_else` member
types.

This is a
[breaking-change]
Due to some code needing additional type annotations.
2015-02-25 17:38:28 -05:00
..
2015-02-23 16:07:38 +13:00
2015-02-20 00:58:15 +01:00
2015-02-20 19:55:00 -05:00
2015-02-20 19:55:00 -05:00
2015-02-20 22:17:17 -08:00
2015-02-20 00:58:15 +01:00
2015-02-21 13:37:37 +01:00
2015-02-20 22:17:17 -08:00