rust/src/libcoretest
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
..
fmt try to reduce bajillion warnings 2015-02-20 19:55:00 -05:00
hash Round 1 fixes and rebase conflicts 2015-02-18 15:27:42 -08:00
num Deprecating i/u suffixes in libcoretest 2015-02-10 22:56:31 +00:00
any.rs Convert required suffixes into a use of as. 2015-02-18 09:09:13 -05:00
atomic.rs Rename AtomicInt and AtomicUint 2015-01-11 11:47:44 -08:00
cell.rs Deprecating i/u suffixes in libcoretest 2015-02-10 22:56:31 +00:00
char.rs Deprecating i/u suffixes in libcoretest 2015-02-10 22:56:31 +00:00
clone.rs Remove all i suffixes 2015-01-30 04:38:54 +01:00
cmp.rs for x in xs.iter() -> for x in &xs 2015-02-02 13:40:18 -05:00
finally.rs Fallout from stabilization 2015-02-17 15:14:17 -08:00
intrinsics.rs std: Stabilize TypeId and tweak BoxAny 2015-01-18 18:29:22 -08:00
iter.rs try to reduce bajillion warnings 2015-02-20 19:55:00 -05:00
lib.rs try to reduce bajillion warnings 2015-02-20 19:55:00 -05:00
mem.rs Fallout: tests. As tests frequently elide things, lots of changes 2015-02-18 10:25:28 -05:00
nonzero.rs Remove all i suffixes 2015-01-30 04:38:54 +01:00
ops.rs Deprecating i/u suffixes in libcoretest 2015-02-10 22:56:31 +00:00
option.rs Kill more isizes 2015-01-31 17:40:40 +01:00
ptr.rs Rewrite Unique<T> so that it is covariant in T, implies NonZero and ownership, 2015-02-18 10:25:12 -05:00
result.rs Result::or : avoid over-specializing the type 2015-02-25 17:38:28 -05:00
slice.rs Replace all uses of &foo[] with &foo[..] en masse. 2015-02-18 17:36:03 -05:00
str.rs Fix tidy and rebase fallout 2015-02-20 00:58:07 +01:00
tuple.rs Deprecating i/u suffixes in libcoretest 2015-02-10 22:56:31 +00:00