about summary refs log tree commit diff
path: root/library/core/src/result.rs
AgeCommit message (Expand)AuthorLines
2021-03-23Add Result::into_err where the Ok variant can never happenLinus Färnstrand-0/+36
2021-03-07Rollup merge of #82130 - jhpratt:const-option-result, r=RalfJungYuki Okushi-1/+2
2021-03-06Make some Option, Result methods unstably constJacob Pratt-1/+2
2021-03-02Rollup merge of #80189 - jyn514:convert-primitives, r=poliorceticsYuki Okushi-2/+1
2021-02-25Convert the rest of the standard library primitives to intra-doc linksJoshua Nelson-2/+1
2021-02-26Auto merge of #78429 - casey:doctest-attribute-splitting, r=jyn514bors-6/+6
2021-02-17Add link to tracking issue #82223Thom Chiovoloni-1/+1
2021-02-17Rename Result::ok_or_err to Result::into_ok_or_errThom Chiovoloni-5/+5
2021-02-17Fix doc link for slice::binary_searchThom Chiovoloni-1/+1
2021-02-17Add a `Result::ok_or_err` method to extract a `T` from `Result<T, T>`Thom Chiovoloni-0/+35
2021-02-12[librustdoc] Reform lang string token splittingCasey Rodarmor-6/+6
2021-01-25Add tracking issueMiguel Ojeda-2/+2
2021-01-25Link the reference about undefined behaviorMiguel Ojeda-2/+6
2021-01-10Add `SAFETY` annotationsMiguel Ojeda-0/+2
2021-01-10Add `unwrap_unchecked()` methods for `Option` and `Result`Miguel Ojeda-1/+63
2020-12-31Remove many unnecessary manual link resolves from libraryCamelid-6/+0
2020-12-10Improve wording of `flatten()` docsCamelid-1/+3
2020-10-12Use intra-doc links for links to module-level docsCamelid-1/+1
2020-08-31Stabilize some Result methods as constCDirkx-3/+3
2020-08-26apply bootstrap cfgsPietro Albini-2/+2
2020-08-20Fix intra-doc links Camelid-2/+2
2020-08-19Revert to old link since intra-doc link is brokenCamelid-1/+1
2020-08-19Switch to intra-doc links in `core::result`Camelid-68/+15
2020-08-16hir: introduce lang items for AST loweringDavid Wood-0/+2
2020-07-31Stabilize as_deref and as_deref on ResultLzu Tao-5/+2
2020-07-31Remove as_deref_err and as_deref_mut_err from ResultLzu Tao-21/+0
2020-07-27mv std libs to library/mark-0/+1588