about summary refs log tree commit diff
path: root/library/core/src/option.rs
AgeCommit message (Expand)AuthorLines
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-0/+2
2021-10-03Rollup merge of #86828 - lambinoo:67441-const-fn-copied-take-replace, r=josht...Manish Goregaokar-7/+16
2021-10-02Make diangostic item names consistentCameron Steffen-1/+1
2021-10-02Revert "Auto merge of #86853 - usbalbin:const_try, r=oli-obk"Albin Hedman-4/+2
2021-09-30Auto merge of #86853 - usbalbin:const_try, r=oli-obkbors-2/+4
2021-09-25Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514bors-26/+35
2021-09-25Apply 16 commits (squashed)Frank Steffahn-26/+35
2021-09-15Add tracking issueAlbin Hedman-2/+2
2021-09-15Constly impl TryV2 and Residual for OptionAlbin Hedman-2/+4
2021-09-04Clarify what “a container” is in `FromIterator<Option<A>> for Option<V>` ...Kevin Reid-2/+2
2021-09-04Add sentence punctuation and links in `Option` docs.Kevin Reid-5/+5
2021-09-04“Moves” instead of “copies” in `<Option<T> as From<T>>::from` doc.Kevin Reid-1/+1
2021-08-30use `unwrap_unchecked` where possibleibraheemdev-5/+2
2021-08-29const fn for option copied, take & replace + testsLamb-7/+16
2021-08-21Remove the `TryV2` aliasScott McMurray-1/+1
2021-08-17Constified `Default` implementationsDeadbeef-1/+2
2021-08-09Added tracking issue to unstable attributeChase Wilson-1/+1
2021-08-09Enabled unzip_option feature for core tests & unzip docsChase Wilson-0/+2
2021-08-09Added the `Option::unzip()` methodChase Wilson-0/+25
2021-08-01Add documentation for the order of Option and ResultAnton Golov-0/+13
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