about summary refs log tree commit diff
path: root/library/core/src/option.rs
AgeCommit message (Expand)AuthorLines
2025-08-19Rollup merge of #142871 - chenyukang:yukang-fix-doc-for-transpose, r=ibraheemdevStuart Cook-6/+6
2025-08-06tidyBoxy-36/+36
2025-07-22Rollup merge of #143768 - Randl:const-try, r=oli-obk许杰友 Jieyou Xu (Joe)-9/+19
2025-07-21Constify Try, From, TryFromEvgenii Zheltonozhskii-9/+19
2025-07-20Option::as_slice: fix commentRalf Jung-1/+1
2025-07-18Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-deadMatthias Krüger-1/+2
2025-07-17Make `Option` `const PartialEq`Oli Scherer-1/+2
2025-07-17constify `Option` methodsOli Scherer-40/+97
2025-07-13update issue number for `const_trait_impl`Deadbeef-1/+1
2025-07-08Rollup merge of #143426 - hkBst:clippy-fix-indent-1, r=jhprattTrevor Gross-0/+1
2025-07-07Make `Default` const and add some `const Default` implsEsteban Küber-1/+2
2025-07-04clippy fix: indentationMarijn Schouten-0/+1
2025-06-22Make doc for transpose api betteryukang-6/+6
2025-06-13Rollup merge of #142158 - xizheyin:141617, r=jdonszelmannMatthias Krüger-2/+2
2025-06-12Tracking the old name of renamed unstable library attributexizheyin-2/+2
2025-06-07Rollup merge of #141447 - y86-dev:option-layout-docs, r=RalfJungGuillaume Gomez-1/+1
2025-05-27✨ feat: map_or_default for result and optiontk-0/+30
2025-05-24Rollup merge of #137323 - joshlf:transmute-npo, r=RalfJungMatthias Krüger-14/+16
2025-05-23document representation of `Option<unsafe fn()>`Benno Lossin-1/+1
2025-04-24add examples using .as_ref() for is_some_and and is_none_orHegui Dai-0/+8
2025-04-24keep the original text for is_some and is_noneHegui Dai-2/+2
2025-04-21Solved suggestionsHegui Dai-17/+11
2025-03-26Keeps the inspect() classification the same as in ResultHegui Dai-3/+7
2025-03-26Update the index.html of Option to make the summary more comprehensiveHegui Dai-2/+21
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-2/+2
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-2/+2
2025-03-06Add UseCloned trait related codeSantiago Pastorino-0/+3
2025-02-20Guarantee behavior of transmuting Option::<T>::None subject to NPOJoshua Liebow-Feeser-14/+16
2024-12-21Less unwrap() in documentationKornel-1/+7
2024-11-27update cfgsBoxy-1/+1
2024-11-27replace placeholder versionBoxy-4/+4
2024-11-12stabilize const_option_extRalf Jung-4/+4
2024-10-30rustdoc-search: simplify rules for generics and type paramsMichael Howell-0/+1
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-1/+1
2024-10-15update bootstrap configsJosh Stone-4/+0
2024-10-15replace placeholder versionJosh Stone-11/+11
2024-10-12Stabilize `const_option`Trevor Gross-11/+19
2024-10-02Auto merge of #130829 - Urgau:option_array_transpose, r=ibraheemdevbors-0/+24
2024-09-27Rollup merge of #129087 - slanterns:option_get_or_insert_default, r=dtolnayMatthias Krüger-3/+1
2024-09-26Add `[Option<T>; N]::transpose`Urgau-0/+24
2024-09-22make unstable Result::flatten a const fnRalf Jung-0/+1
2024-09-19[Clippy] Swap `manual_while_let_some` to use diagnostic items instead of pathsGnomedDev-0/+2
2024-09-15Rollup merge of #130118 - RalfJung:unwrap_unchecked, r=NoratriebMatthias Krüger-1/+1
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-16/+6
2024-09-09Rollup merge of #130090 - RalfJung:result-copied, r=NoratriebJubilee-2/+2
2024-09-09Rollup merge of #130087 - RalfJung:option-const-iter, r=workingjubileeJubilee-2/+1
2024-09-08add FIXME(const-hack)Ralf Jung-17/+7
2024-09-08move Option::unwrap_unchecked into const_option feature gateRalf Jung-1/+1
2024-09-08Option, Result: put the &mut variants of 'copied' under the same feature as t...Ralf Jung-1/+1
2024-09-08add some FIXME(const-hack)Ralf Jung-1/+1