about summary refs log tree commit diff
path: root/src/libcore/option.rs
AgeCommit message (Expand)AuthorLines
2020-04-11Document unsafety in `core::option`LeSeulArtichaut-2/+6
2020-03-19make "other" in docs of `Option::{zip,zip_with}` monofontWaffle-2/+2
2020-03-18fixes to `Option::{zip,zip_with}`Waffle-11/+9
2020-03-18add `Option::{zip,zip_with}` methods under "option_zip" gateWaffle-0/+59
2020-02-09Rollup merge of #68918 - brson:unwrapdoc, r=Dylan-DPCDylan DPC-10/+16
2020-02-07Don't use the word 'unwrap' to describe core unwrapping functionsBrian Anderson-10/+16
2020-02-06Mark fn map_or() as eagerly evaluated.Tom A. Wagner-0/+6
2020-02-01Update option.rsMarincia Catalin-2/+2
2020-01-23use `diagnostic_item` and modify wordingEsteban Küber-0/+1
2020-01-09Rollup merge of #67966 - popzxc:core-std-matches, r=CentrilMazdak Farrokhzad-4/+1
2020-01-08Use matches macro in libcore and libstdIgor Aleksanov-4/+1
2020-01-04Option's panics are all #[track_caller].Adam Perry-0/+6
2019-11-26Format libcore with rustfmtDavid Tolnay-29/+53
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-0/+2
2019-10-28Rollup merge of #64747 - ethanboxx:master, r=CentrilMazdak Farrokhzad-3/+1
2019-10-22Apply clippy::single_match suggestionMateusz Mikuła-3/+2
2019-10-20Rename the default argument 'def' to 'default'David Sinclair-2/+2
2019-10-19Remove unneeded `ref` from docsCarol (Nichols || Goulding)-2/+2
2019-10-19Stabilize `Option::flatten`Ethan Brierley-3/+1
2019-10-05Rollup merge of #64708 - SimonSapin:option-deref, r=CentrilTyler Mandry-6/+2
2019-09-30Fixed a misleading documentation issue #64844hman523-1/+1
2019-09-23Stabilize Option::deref and Option::deref_mutSimon Sapin-6/+2
2019-09-17Elide lifetimes in `Pin<&(mut) Self>`Taiki Endo-2/+2
2019-08-30Add missing examples for Option typeGuillaume Gomez-0/+31
2019-08-06Rollup merge of #62459 - timvermeulen:result_sum_internal_iteration, r=scottmcmMazdak Farrokhzad-2/+5
2019-07-29Add links to None in Option docLzu Tao-2/+2
2019-07-29Use internal iteration in the Sum and Product impls of Result and OptionTim Vermeulen-2/+5
2019-07-27Refactoring use commun code between option, result and accumStargateur-40/+2
2019-07-18Use DerefMutYuki Okushi-1/+1
2019-07-18renamed `inner_deref` feature's `deref*()` methods `as_deref*()` as per discu...Brad Gibson-2/+13
2019-07-17Auto merge of #62596 - cuviper:expect_none, r=rkruppebors-1/+94
2019-07-15Rollup merge of #62491 - GuillaumeGomez:fix-pin-urls-for-option, r=QuietMisdr...Mark Rousskov-0/+4
2019-07-12Rollup merge of #62431 - czipperz:add-messages-to-must-use-is_-methods, r=sco...Mazdak Farrokhzad-2/+3
2019-07-12Add tracking issue 62633Josh Stone-2/+2
2019-07-11Make cold unwraps take &dyn DebugJosh Stone-3/+3
2019-07-11Add Option::expect_none(msg) and unwrap_none()Josh Stone-1/+94
2019-07-08Fix Pin urls in Option documentationGuillaume Gomez-0/+4
2019-07-08Rollup merge of #62356 - soc:topic/contains, r=CentrilMazdak Farrokhzad-0/+26
2019-07-07Implement Option::contains, Result::contains and Result::contains_errSimon Ochsenreither-0/+26
2019-07-07Rollup merge of #62379 - GuillaumeGomez:option-doc-links, r=QuietMisdreavusMazdak Farrokhzad-10/+22
2019-07-05Wrap lineChris Gregory-1/+2
2019-07-05Add messages to Option and Result must_use for is_*Chris Gregory-2/+2
2019-07-04Add missing links in Option documentationGuillaume Gomez-10/+22
2019-07-04Rollup merge of #62344 - matklad:simplify-option, r=sfacklerMazdak Farrokhzad-9/+1
2019-07-03simplify Option::get_or_insertAleksey Kladov-9/+1
2019-07-01Use mem::take instead of mem::replace with defaultChris Gregory-1/+1
2019-06-13Rollup merge of #60376 - lzutao:stabilize-option_xor, r=SimonSapinMazdak Farrokhzad-3/+1
2019-06-05Stabilize Option::xorLzu Tao-3/+1
2019-06-01Implement Clone::clone_from for Option.Mara Bos-1/+20
2019-04-26Add flatten option for `Option<Option<T>>`Ethan Brierley-1/+31