(Wangle) Swap order of Try<T> and T matching
authorHannes Roth <hannesr@fb.com>
Thu, 2 Apr 2015 04:31:29 +0000 (21:31 -0700)
committerafrind <afrind@fb.com>
Thu, 2 Apr 2015 19:02:29 +0000 (12:02 -0700)
commit3ae1ec3c20ff7ec241ac20a1a89300128d08c1af
treec9e44531a6d8510306aa76587daa0b392b343242
parent62e15017ed5b871521ad8d89cdb37a91e7401604
(Wangle) Swap order of Try<T> and T matching

Summary:
See the test case and D1958860.

I don't really know why I chose one over the other. This fixes a bug. So
it's better?

Test Plan: Run all the tests?

Reviewed By: yfeldblum@fb.com

Subscribers: folly-diffs@, jsedgwick, yfeldblum, chalfant, over

FB internal diff: D1960740

Signature: t1:1960740:1427927644:25093b049a1519d7c869ee7043f3caced4cc971e
folly/futures/Future.h
folly/futures/test/FutureTest.cpp