summary refs log tree commit diff
path: root/library/core/src/option.rs
AgeCommit message (Expand)AuthorLines
2021-07-19Auto merge of #87196 - oxalica:option-insert-must-use, r=joshtriplettbors-0/+1
2021-07-17Mark `Option::insert` as must_useoxalica-0/+1
2021-07-16fix typo in compile_fail doctestRalf Jung-1/+1
2021-07-14Auto merge of #86211 - tlyu:option-result-overviews, r=joshtriplettbors-5/+339
2021-07-01fix missing wordTaylor Yu-1/+2
2021-06-28Update to new bootstrap compilerMark Rousskov-32/+0
2021-06-24option/result overviews: address feedbackTaylor Yu-70/+88
2021-06-22Some<T> is not a type, etcTaylor Yu-13/+23
2021-06-14add boolean operator exampleTaylor Yu-0/+30
2021-06-12updates based on feedbackTaylor Yu-35/+75
2021-06-11add modify-in-place methods to option overviewTaylor Yu-0/+29
2021-06-11more transformation methods in option overviewTaylor Yu-0/+6
2021-06-11updates based on reviewsTaylor Yu-12/+13
2021-06-10fix typo in option docTaylor Yu-1/+1
2021-06-10method overviews for option and resultTaylor Yu-0/+199
2021-06-10fix wording in option docTaylor Yu-2/+2
2021-05-29Mention "null pointer optimization" in option docs.Jacob Hoffman-Andrews-0/+2
2021-05-19#[cfg(bootstrap)] out the v1 try_trait stuffScott McMurray-0/+2
2021-05-18Rollup merge of #85425 - mbartlett21:patch-1, r=scottmcmJack Huey-1/+1
2021-05-18Fix must_use on `Option::is_none`mbartlett21-1/+1
2021-05-06Perf Experiment: Wait, what if I just skip the trait aliasScott McMurray-1/+1
2021-05-06Bootstrapping preparation for the libraryScott McMurray-1/+1
2021-04-27Reorder the parameter descriptions of map_or and map_or_elseDan Zwell-4/+4
2021-04-26Auto merge of #84092 - scottmcm:try_trait_initial, r=yaahc,m-ou-sebors-2/+31
2021-04-19Clarify the difference between insert and get_or_insertAleksey Kladov-29/+35
2021-04-17Add the try_trait_v2 library basicsScott McMurray-2/+31
2021-04-11Stabilize option_insert.Mara Bos-3/+1
2021-03-14Remove Option::{unwrap_none, expect_none}.Mara Bos-93/+1
2021-03-10Rename Option::get_or_insert_defaultCameron Steffen-17/+17
2021-03-08Add Option::get_or_defaultCameron Steffen-0/+28
2021-03-07Rollup merge of #82130 - jhpratt:const-option-result, r=RalfJungYuki Okushi-4/+9
2021-03-06Make some Option, Result methods unstably constJacob Pratt-4/+9
2021-02-12[librustdoc] Reform lang string token splittingCasey Rodarmor-4/+4
2021-01-25Add tracking issueMiguel Ojeda-1/+1
2021-01-25Link the reference about undefined behaviorMiguel Ojeda-1/+3
2021-01-10Add `SAFETY` annotationsMiguel Ojeda-0/+1
2021-01-10Add `unwrap_unchecked()` methods for `Option` and `Result`Miguel Ojeda-0/+31
2020-12-31Remove many unnecessary manual link resolves from libraryCamelid-2/+0
2020-12-10Improve wording of `flatten()` docsCamelid-1/+5
2020-10-23add tracking issue number to option_insert feature gateCanop-1/+1
2020-10-23Update library/core/src/option.rsCanop-4/+0
2020-10-23Update library/core/src/option.rsCanop-0/+2
2020-10-23fix naming unconsistency between function doc and prototypeCanop-9/+8
2020-10-23more tests in option.insert, code cleaning in optionCanop-12/+17
2020-10-23remove `option.insert_with`Canop-19/+1
2020-10-23add `insert` and `insert_with` to `Option`Canop-0/+46
2020-10-15Deny broken intra-doc links in linkcheckerJoshua Nelson-0/+1
2020-10-08Fix intra-doc links in `core`Camelid-0/+3
2020-09-26Rollup merge of #75454 - ltratt:option_optimisation_guarantees, r=dtolnayRalf Jung-4/+17
2020-09-20Stabilize some Option methods as constCDirkx-3/+3