summary refs log tree commit diff
path: root/library/core/src/result.rs
AgeCommit message (Expand)AuthorLines
2024-12-21Less unwrap() in documentationKornel-3/+8
2024-11-27update cfgsBoxy-1/+1
2024-10-30rustdoc-search: simplify rules for generics and type paramsMichael Howell-0/+1
2024-10-15update bootstrap configsJosh Stone-2/+0
2024-10-15replace placeholder versionJosh Stone-4/+4
2024-10-11stabilize const_resultRalf Jung-4/+9
2024-09-22make unstable Result::flatten a const fnRalf Jung-2/+7
2024-09-19[Clippy] Swap `lines_filter_map_ok` to use a diagnostic item instead of pathGnomedDev-0/+1
2024-09-08Option, Result: put the &mut variants of 'copied' under the same feature as t...Ralf Jung-2/+8
2024-09-08add some FIXME(const-hack)Ralf Jung-1/+1
2024-09-07make Result::copied unstably constRalf Jung-2/+8
2024-08-19Add a precondition check for Layout::from_size_align_uncheckedBen Kimock-2/+0
2024-07-22Start using `#[diagnostic::do_not_recommend]` in the standard libraryGeorg Semmler-1/+1
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