summary refs log tree commit diff
path: root/library/core/src/option.rs
AgeCommit message (Expand)AuthorLines
2024-09-02replace placeholder versionBoxy-1/+1
2024-08-16Rollup merge of #129086 - slanterns:is_none_or, r=dtolnayMatthias Krüger-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
2024-02-09Auto merge of #120676 - Mark-Simulacrum:bootstrap-bump, r=clubby789bors-1/+0
2024-02-09Improve Option::inspect docsCameron Steffen-5/+10
2024-02-08Remove a now-obviated debug_assert!Ben Kimock-1/+0
2024-02-08Step all bootstrap cfgs forwardMark Rousskov-1/+0
2024-01-21Fix `clippy::correctness` in the libraryNilstrieb-0/+1
2024-01-21chore: suggest wrapping in an `assert!()` insteadHTGAzureX1212-1/+1
2024-01-16Auto merge of #119954 - scottmcm:option-unwrap-failed, r=WaffleLapkinbors-2/+10
2024-01-14Split out `option::unwrap_failed` like we have `result::unwrap_failed`Scott McMurray-2/+10
2024-01-14Add note on SpecOptionPartialEq to `newtype_index`clubby789-0/+1
2023-12-22update version placeholdersPietro Albini-1/+1
2023-11-18Auto merge of #117525 - GKFX:remove_option_payload_ptr, r=petrochenkovbors-3/+2
2023-11-17Rollup merge of #115476 - RalfJung:abi-compat-docs, r=Mark-SimulacrumMatthias Krüger-3/+4
2023-11-16Remove option_payload_ptr; redundant to offset_ofGeorge Bateman-3/+2
2023-11-15Substitute version placeholdersMark Rousskov-2/+2
2023-11-13Auto merge of #116866 - slanterns:inspect-stabilize, r=BurntSushibors-7/+2
2023-11-04document ABI compatibilityRalf Jung-3/+4
2023-11-03Auto merge of #115333 - joshlf:patch-5, r=RalfJungbors-9/+15
2023-10-18Stabilize `result_option_inspect`Slanterns-7/+2
2023-10-16Add `#[track_caller]` to `Option::unwrap_or_else`DaniPopes-0/+1
2023-10-14Guarantee representation of None in NPOJoshua Liebow-Feeser-9/+15
2023-10-06Reuse existing `Some`s in `Option::(x)or`Scott McMurray-4/+4
2023-09-28stabilize `Option::as_`(`mut_`)`slice`Andre Bogus-12/+2
2023-08-15Add alignment to the NPO guaranteeScott McMurray-1/+1
2023-08-07Rollup merge of #98935 - kellerkindt:option_retain, r=Mark-SimulacrumMatthias Krüger-0/+35
2023-08-03Implement Option::take_ifMichael Watzko-0/+35