about summary refs log tree commit diff
path: root/library/core/src/result.rs
AgeCommit message (Expand)AuthorLines
2023-10-18Stabilize `result_option_inspect`Slanterns-6/+2
2023-10-01Add track_caller attribute to Result::unwrap_or_elseravenclaw900-0/+1
2023-07-30Rollup merge of #112655 - WaffleLapkin:must_use_map_or, r=workingjubileeMatthias Krüger-0/+1
2023-07-30Mark `map_or` as `#[must_use]`Maybe Waffle-0/+1
2023-07-16Fix typoAlex Povel-1/+1
2023-04-28replace version placeholdersPietro Albini-2/+2
2023-04-16core is now compilableDeadbeef-34/+6
2023-04-16rm const traits in libcoreDeadbeef-35/+21
2023-04-06Stabilize is_some_andJonas Platte-5/+2
2023-03-28Auto merge of #108095 - soc:drop-contains, r=Amanieubors-62/+0
2023-03-19Add #[inline] to as_derefBen Kimock-0/+2
2023-02-16"Basic usage" is redundant for there is just one exampleTshepang Mbambo-42/+0
2023-02-15Drop unstable `Option::contains`, `Result::contains`, `Result::contains_err`soc-62/+0
2023-02-03docs: update fragment for Result implsMichael Howell-3/+3
2022-12-13Improve wording for Option and ResultChris AtLee-4/+3
2022-10-02Auto merge of #98354 - camsteffen:is-some-and-by-value, r=m-ou-sebors-11/+17
2022-10-01Change feature name to is_some_andCameron Steffen-4/+4
2022-10-01Change is_some_and to take by valueCameron Steffen-7/+13
2022-09-28Update result.rsMarijn Schouten-3/+0
2022-09-23Constify Residual behind const_tryonestacked-1/+2
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