summary refs log tree commit diff
path: root/library/core/src/result.rs
AgeCommit message (Expand)AuthorLines
2024-05-27Rollup merge of #124870 - Lokathor:update-result-docs, r=dtolnayGuillaume Gomez-0/+21
2024-05-25github showed that weird.Lokathor-1/+1
2024-05-25correct for copy paste errors when fixing wrapping.Lokathor-6/+6
2024-05-25revert to the inconsistent paragraph wrapping.Lokathor-52/+55
2024-05-15Update library/core/src/result.rsRenato A-1/+1
2024-05-13Don't use `T` with both Result and Option, improve explanation.Lokathor-67/+70
2024-05-10Fix assertRenato Alves-1/+1
2024-05-10Refactor examples and enhance documentation in result.rsRenato Alves-4/+8
2024-05-07use teletype on the attribute nameLokathor-1/+1
2024-05-07Some Result combinations work like an Option.Lokathor-0/+15
2024-03-25Import the 2021 prelude in the core crateDaniel Paoliello-1/+1
2024-02-22Add `flatmap`/`flat_map` -> `and_then` suggestionsEsteban Küber-0/+1
2024-02-09Improve Option::inspect docsCameron Steffen-2/+6
2024-01-12Tune the inlinability of `Result::unwrap`Scott McMurray-1/+1
2023-12-22update version placeholdersPietro Albini-2/+2
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