Made `std::task::TaskBuilder::future_result()` easier to use
auto merge of #9926 : Kimundi/rust/future_result_bad_sig, r=huonw