summaryrefslogtreecommitdiff
path: root/library/core/src/result.rs
Commit message (Expand)AuthorAgeFilesLines
* replace version placeholdersPietro Albini2023-04-281-2/+2
* core is now compilableDeadbeef2023-04-161-34/+6
* rm const traits in libcoreDeadbeef2023-04-161-35/+21
* Stabilize is_some_andJonas Platte2023-04-061-5/+2
* Auto merge of #108095 - soc:drop-contains, r=Amanieubors2023-03-281-62/+0
|\
| * Drop unstable `Option::contains`, `Result::contains`, `Result::contains_err`soc2023-02-151-62/+0
* | Add #[inline] to as_derefBen Kimock2023-03-191-0/+2
* | "Basic usage" is redundant for there is just one exampleTshepang Mbambo2023-02-161-42/+0
|/
* docs: update fragment for Result implsMichael Howell2023-02-031-3/+3
* Improve wording for Option and ResultChris AtLee2022-12-131-4/+3
* Auto merge of #98354 - camsteffen:is-some-and-by-value, r=m-ou-sebors2022-10-021-11/+17
|\
| * Change feature name to is_some_andCameron Steffen2022-10-011-4/+4
| * Change is_some_and to take by valueCameron Steffen2022-10-011-7/+13
* | Update result.rsMarijn Schouten2022-09-281-3/+0
|/
* Constify Residual behind const_tryonestacked2022-09-231-1/+2
* Rollup merge of #100604 - dtolnay:okorerr, r=m-ou-seYuki Okushi2022-08-261-34/+0
|\
| * Remove unstable Result::into_ok_or_errDavid Tolnay2022-08-171-34/+0
* | Add a warning about `Option/Result::and()` being eagerly evaluatedChayim Refael Friedman2022-08-231-0/+5
|/
* add same warning to Result::expect as Result::unwrapNathan Stocks2022-07-211-0/+9
* Fix links in std/core documentationGuillaume Gomez2022-07-051-3/+3
* Rollup merge of #96033 - yaahc:expect-elaboration, r=scottmcmMatthias Krüger2022-05-261-0/+20
|\
| * update option and result references to expect message docsJane Lusby2022-05-251-3/+9
| * This is a pretty good start if you ask meJane Lusby2022-05-061-66/+6
| * spicyJane Losare-Lusby2022-04-301-25/+43
| * Update library/core/src/result.rsJane Lusby2022-04-181-1/+1
| * Update library/core/src/result.rsJane Lusby2022-04-181-1/+1
| * update docs for option to crossreference to the result docsJane Lusby2022-04-151-7/+7
| * add should_panic annotationsJane Lusby2022-04-141-3/+3
| * add necessary text attribute to code block of panic outputJane Lusby2022-04-141-2/+2
| * Add section on common message styles for Result::expectJane Lusby2022-04-131-0/+56
* | Add `do yeet` expressions to allow experimentation in nightlyScott McMurray2022-04-301-0/+8
|/
* trivial cfg(bootstrap) changesPietro Albini2022-04-051-13/+12
* Adjust feature names that disagree on const stabilization versionDavid Tolnay2022-03-311-3/+3
* Rename `~const Drop` to `~const Destruct`Deadbeef2022-03-211-12/+14
* Rollup merge of #94765 - m-ou-se:is-some-and, r=Dylan-DPCDylan DPC2022-03-111-10/+10
|\
| * Rename is_{some,ok,err}_with to is_{some,ok,err}_and.Mara Bos2022-03-091-10/+10
* | Use implicit capture syntax in format_argsT-O-R-U-S2022-03-101-12/+12
* | Rollup merge of #91804 - woppopo:const_clone, r=oli-obkMatthias Krüger2022-03-091-1/+6
|\ \ | |/ |/|
| * Make some `Clone` impls `const`woppopo2021-12-121-1/+6
* | Rollup merge of #92385 - clarfonthey:const_option, r=fee1-deadMatthias Krüger2022-03-081-10/+45
|\ \
| * | Add Result::{ok, err, and, or, unwrap_or} as constltdk2022-01-291-10/+45
* | | Add note on Windows path behaviourcyqsimon2022-02-121-0/+1
* | | `Result::and_then`: show type conversioncyqsimon2022-02-121-6/+5
* | | `Result::and_then`: improve basic examplecyqsimon2022-02-121-4/+6
* | | Add negative example for `Result::and_then`cyqsimon2022-02-111-2/+6
* | | More practical examples for `Result::and_then`cyqsimon2022-02-101-7/+13
* | | Change `ResultShunt` to be generic over `Try`Scott McMurray2022-02-071-1/+1
|/ /
* | Fix is_some_with tests.Mara Bos2022-01-191-5/+8
* | Improve is_err_with example.Mara Bos2022-01-181-6/+8
* | Add is_some_with tracking issue number.Mara Bos2022-01-181-2/+2