about summary refs log tree commit diff
path: root/library/core/src/option.rs
AgeCommit message (Expand)AuthorLines
2025-03-06Add UseCloned trait related codeSantiago Pastorino-0/+3
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
2024-09-07remove 'const' from 'Option::iter'Ralf Jung-2/+1
2024-09-03replace placeholder versionBoxy-1/+1
2024-08-16Rollup merge of #129086 - slanterns:is_none_or, r=dtolnayMatthias Krüger-3/+1
2024-08-14stabilize `option_get_or_insert_default`Slanterns-3/+1
2024-08-14stabilize `is_none_or`Slanterns-3/+1
2024-08-12Explicitly specify type parameter on FromResidual impls in stdlib.Zachary S-1/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+2
2024-07-22Start using `#[diagnostic::do_not_recommend]` in the standard libraryGeorg Semmler-0/+1
2024-07-15Use Option's discriminant as its size hintScott McMurray-7/+17
2024-06-19Make Option::as_[mut_]slice constGeorge Bateman-4/+6
2024-06-13add tracking issue for is_none_orRalf Jung-1/+1
2024-06-12Rollup merge of #126328 - RalfJung:is_none_or, r=workingjubileeJubilee-0/+26
2024-06-12add is_none_orRalf Jung-0/+26
2024-06-11replace version placeholderPietro Albini-1/+1
2024-06-06Stabilize Option::take_ifDaniel Sedlak-3/+1
2024-05-25It seems that anchor names are implicitly all lowercaseLokathor-1/+1
2024-05-25Fix URL target, it's in the module not the type.Lokathor-1/+1
2024-05-25Resolve https://github.com/rust-lang/rust/pull/124870#issuecomment-2128824959Lokathor-0/+3
2024-03-26panic_str only exists for the migration to 2021 panic macrosRalf Jung-2/+2
2024-03-25Import the 2021 prelude in the core crateDaniel Paoliello-1/+1
2024-03-19Manually implement `PartialOrd`/`Ord` for `Option`clubby789-2/+31
2024-03-19Remove `SpecOptionPartialEq`clubby789-71/+10
2024-02-23Auto merge of #121454 - reitermarkus:generic-nonzero-library, r=dtolnaybors-12/+13
2024-02-22Add `flatmap`/`flat_map` -> `and_then` suggestionsEsteban Küber-0/+1
2024-02-22Use generic `NonZero` everywhere in `core`.Markus Reiter-12/+13
2024-02-11Rollup merge of #119449 - Nilstrieb:library-clippy, r=cuviperMatthias Krüger-0/+1
2024-02-09Auto merge of #120852 - matthiaskrgr:rollup-01pr8gj, r=matthiaskrgrbors-5/+10