summary refs log tree commit diff
path: root/library/core/src/result.rs
AgeCommit message (Expand)AuthorLines
2022-08-26Rollup merge of #100604 - dtolnay:okorerr, r=m-ou-seYuki Okushi-34/+0
2022-08-23Add a warning about `Option/Result::and()` being eagerly evaluatedChayim Refael Friedman-0/+5
2022-08-17Remove unstable Result::into_ok_or_errDavid Tolnay-34/+0
2022-07-21add same warning to Result::expect as Result::unwrapNathan Stocks-0/+9
2022-07-05Fix links in std/core documentationGuillaume Gomez-3/+3
2022-05-26Rollup merge of #96033 - yaahc:expect-elaboration, r=scottmcmMatthias Krüger-0/+20
2022-05-25update option and result references to expect message docsJane Lusby-3/+9
2022-05-06This is a pretty good start if you ask meJane Lusby-66/+6
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-0/+8
2022-04-30spicyJane Losare-Lusby-25/+43
2022-04-18Update library/core/src/result.rsJane Lusby-1/+1
2022-04-18Update library/core/src/result.rsJane Lusby-1/+1
2022-04-15update docs for option to crossreference to the result docsJane Lusby-7/+7
2022-04-14add should_panic annotationsJane Lusby-3/+3
2022-04-14add necessary text attribute to code block of panic outputJane Lusby-2/+2
2022-04-13Add section on common message styles for Result::expectJane Lusby-0/+56
2022-04-05trivial cfg(bootstrap) changesPietro Albini-13/+12
2022-03-31Adjust feature names that disagree on const stabilization versionDavid Tolnay-3/+3
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