about summary refs log tree commit diff
path: root/library/core/src/result.rs
AgeCommit message (Expand)AuthorLines
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-12/+14
2022-03-11Rollup merge of #94765 - m-ou-se:is-some-and, r=Dylan-DPCDylan DPC-10/+10
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-12/+12
2022-03-09Rollup merge of #91804 - woppopo:const_clone, r=oli-obkMatthias Krüger-1/+6
2022-03-09Rename is_{some,ok,err}_with to is_{some,ok,err}_and.Mara Bos-10/+10
2022-03-08Rollup merge of #92385 - clarfonthey:const_option, r=fee1-deadMatthias Krüger-10/+45
2022-02-12Add note on Windows path behaviourcyqsimon-0/+1
2022-02-12`Result::and_then`: show type conversioncyqsimon-6/+5
2022-02-12`Result::and_then`: improve basic examplecyqsimon-4/+6
2022-02-11Add negative example for `Result::and_then`cyqsimon-2/+6
2022-02-10More practical examples for `Result::and_then`cyqsimon-7/+13
2022-02-07Change `ResultShunt` to be generic over `Try`Scott McMurray-1/+1
2022-01-29Add Result::{ok, err, and, or, unwrap_or} as constltdk-10/+45
2022-01-19Fix is_some_with tests.Mara Bos-5/+8
2022-01-18Improve is_err_with example.Mara Bos-6/+8
2022-01-18Add is_some_with tracking issue number.Mara Bos-2/+2
2022-01-18Add Result::{is_ok_with, is_err_with}.Mara Bos-0/+42
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-5/+5
2022-01-05Rollup merge of #92483 - ksqsf:master, r=dtolnayMatthias Krüger-8/+8
2022-01-04Stabilize `result_cloned` and `result_copied`ksqsf-8/+8
2022-01-03Move `contains` method of Option and Result lower in docsDavid Tolnay-58/+62
2021-12-30Consolidate impl Result<&mut T, E>David Tolnay-5/+9
2021-12-30Consolidate impl Result<&T, E>David Tolnay-22/+26
2021-12-30Move Result::into_errDavid Tolnay-36/+37
2021-12-30Move Result::into_okDavid Tolnay-36/+37
2021-12-30Move Result::expect_err and Result::unwrap_errDavid Tolnay-56/+60
2021-12-30Move Result::unwrap_or_defaultDavid Tolnay-36/+37
2021-12-30Move Result::expect and Result::unwrapDavid Tolnay-68/+76
2021-12-30Move Result::as_deref_mutDavid Tolnay-25/+26
2021-12-30Move Result::as_derefDavid Tolnay-23/+24
2021-12-15Auto merge of #91752 - yaahc:track-caller-result, r=cuviperbors-0/+1
2021-12-12Revert "Auto merge of #89450 - usbalbin:const_try_revert, r=oli-obk"Deadbeef-2/+6
2021-12-12Make some `Clone` impls `const`woppopo-1/+6
2021-12-10Readd track_caller to Result::from_residualJane Lusby-0/+1
2021-12-10Add separate impl of unwrap_failed to avoid constructing trait objectsManish Goregaokar-0/+13
2021-12-02Make array::{try_from_fn, try_map} and Iterator::try_find generic over TryScott McMurray-0/+5
2021-11-28add `Option::inspect` and `Result::{inspect, inspect_err}`Ibraheem Ahmed-0/+47
2021-10-20Stabilize `option_result_unwrap_unchecked`Miguel Ojeda-6/+2
2021-10-17Make Result::as_mut constwoppopo-1/+2
2021-10-06Rebase Result::map_or_else doc wording on top of #89400.Orson Peters-3/+2
2021-10-04Rollup merge of #89400 - Nitepone:nitepone/map-or-else-docfix, r=dtolnayJubilee-4/+4
2021-10-02Make diangostic item names consistentCameron Steffen-1/+1
2021-10-02Revert "Auto merge of #86853 - usbalbin:const_try, r=oli-obk"Albin Hedman-6/+2
2021-09-30Improve wording of `map_or_else` docsTyler Hart-4/+4
2021-09-30Auto merge of #86853 - usbalbin:const_try, r=oli-obkbors-2/+6
2021-09-25Apply 16 commits (squashed)Frank Steffahn-5/+5
2021-09-15Fix formattingAlbin Hedman-1/+3
2021-09-15Add tracking issueAlbin Hedman-2/+2
2021-09-15Updated for new const trait bounds syntaxAlbin Hedman-1/+1
2021-09-15Constly impl TryV2 and FromResidual for ResultAlbin Hedman-2/+4