about summary refs log tree commit diff
path: root/src/libcore/result.rs
AgeCommit message (Expand)AuthorLines
2020-04-04docs: make the description of Result::map_or more clearPonas-2/+4
2020-03-19Add Result<Result<T, E>, E>::flatten -> Result<T, E>Wim Looman-1/+33
2020-02-09Rollup merge of #68918 - brson:unwrapdoc, r=Dylan-DPCDylan DPC-53/+59
2020-02-07Don't use the word 'unwrap' to describe core unwrapping functionsBrian Anderson-16/+22
2020-02-06Mark fn map_or() as eagerly evaluated.Tom A. Wagner-0/+6
2020-02-05Reorder declarations of Result::expect_err/unwrap_err to match OptionBrian Anderson-22/+22
2020-02-05Reorder declarations of Result::export/unwrap to match OptionBrian Anderson-17/+17
2020-01-23use `diagnostic_item` and modify wordingEsteban Küber-0/+1
2020-01-11Rename Result::as_deref_ok to as_derefLzu Tao-25/+2
2020-01-11Rollup merge of #66045 - mzabaluev:unwrap-infallible, r=dtolnayYuki Okushi-0/+38
2020-01-09Rollup merge of #67966 - popzxc:core-std-matches, r=CentrilMazdak Farrokhzad-4/+1
2020-01-08Use matches macro in libcore and libstdIgor Aleksanov-4/+1
2020-01-04Result's panics have `#[track_caller]`.Adam Perry-0/+5
2019-12-31Constify ResultLukas Lueg-3/+6
2019-12-26Remove redundant link textsMatthew Kraai-1/+1
2019-12-22Format the worldMark Rousskov-38/+58
2019-12-22Rename Result::unwrap_infallible to into_okMikhail Zabaluev-2/+2
2019-12-22Add Result::unwrap_infallibleMikhail Zabaluev-0/+38
2019-12-02stabilize Result::map_orLzu Tao-2/+1
2019-11-24Auto merge of #66322 - lzutao:consistent-result-map_or_else, r=dtolnaybors-4/+6
2019-11-12add Result::map_orLzu Tao-0/+22
2019-11-12stabilize Result::map_or_elseLzu Tao-2/+1
2019-11-12make Result::map_or_else consistent with Option::map_or_elseLzu Tao-2/+5
2019-09-04Auto merge of #63166 - ksqsf:master, r=alexcrichtonbors-0/+81
2019-08-02Remove Err variants of cloned and copiedksqsf-79/+0
2019-08-01Fix doc testsksqsf-17/+17
2019-08-01Revert "cloned/copied"ksqsf-140/+4
2019-08-01Rename {copied,cloned} to {copied,cloned}_ok, and add {copied,cloned} to copy...ksqsf-4/+140
2019-08-01Make these methods publicksqsf-8/+8
2019-08-01Fix issue and implksqsf-9/+9
2019-08-01Add Result::cloned{,_err} and Result::copied{,_err}ksqsf-0/+160
2019-07-29Use internal iteration in the Sum and Product impls of Result and OptionTim Vermeulen-2/+2
2019-07-27Refactoring use commun code between option, result and accumStargateur-34/+2
2019-07-18Use DerefMutYuki Okushi-1/+1
2019-07-18renamed `inner_deref` feature's `deref*()` methods `as_deref*()` as per discu...Brad Gibson-15/+48
2019-07-17Auto merge of #62596 - cuviper:expect_none, r=rkruppebors-5/+5
2019-07-12Rollup merge of #62431 - czipperz:add-messages-to-must-use-is_-methods, r=sco...Mazdak Farrokhzad-2/+2
2019-07-11Make cold unwraps take &dyn DebugJosh Stone-5/+5
2019-07-07Implement Option::contains, Result::contains and Result::contains_errSimon Ochsenreither-0/+52
2019-07-05Add messages to Option and Result must_use for is_*Chris Gregory-2/+2
2019-06-01Implement Clone::clone_from for Result.Mara Bos-1/+22
2019-04-19libcore: deny more...Mazdak Farrokhzad-2/+2
2019-04-18libcore => 2018Taiki Endo-3/+3
2019-04-08Add must_use annotations to Result::is_ok and is_errAlex Gaynor-0/+2
2019-03-25add missing bracesFelix S Klock II-2/+2
2019-03-22Expand `impl FromIterator for Result` doc to include examples of `Err` and ea...Felix S. Klock II-0/+28
2019-03-15Option and Result: Add references to documentation of as_ref and as_mutChris Gregory-2/+2
2019-03-11impl FromIterator for Result: Use assert_eq! instead of assert!Chris Gregory-1/+1
2019-02-10libs: doc commentsAlexander Regueiro-1/+1
2019-01-13stabilize transpose_result in 1.33Mazdak Farrokhzad-3/+1