about summary refs log tree commit diff
path: root/src/libstd/option.rs
AgeCommit message (Collapse)AuthorLines
2013-07-20option: Title-case `Some` and `None` in docs and fail messagesblake2-ppc-12/+12
For accuracy, say 'get_ref None' instead of 'get_ref none', and so on.
2013-07-20(cleanup) impl TaskSetBen Blum-0/+7
2013-07-20Add option::take(), the building block of the option::take_* family.Ben Blum-3/+9
2013-07-20Add Option::take_map{,_default}()Ben Blum-0/+14
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-7/+5
2013-07-16Rename Option swap_unwrap to take_unwrap. Fixes Issue#7764Austin King-7/+7
2013-07-09std: Implement `Iterator::size_hint` method for `Option` iteratorsAndrew Paseltiner-0/+50
2013-06-29Implement `map_mut` on the Option typeAlex Crichton-2/+8
Closes #7394
2013-06-29Removing a lot of usage of '&const'Alex Crichton-2/+2
2013-06-27util: make NonCopyable 0 size (instead of 1 byte)Daniel Micay-1/+1
this also adds a derived Eq, TotalEq, Ord and TotalOrd along with removing the useless constructor
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-06-23auto merge of #7279 : hanny24/rust/master, r=msullivanbors-0/+17
This commit adds filtered method for Option type. It is not exactly necessary (chain method can be used instead), however I believe that this approach using extra filtered method is more convinient.
2013-06-21Added filtered method for Option typeHonza Strnad-0/+17
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-18/+18
2013-06-16Add copies to type params with Copy boundNiko Matsakis-6/+6
2013-06-14Add Zero impls for lots of common typesAlex Crichton-0/+5
2013-06-11option: remove redundant old_iter implsDaniel Micay-48/+6
2013-06-11add Iterator implementations for OptionDaniel Micay-0/+38
2013-06-04std::util: Modernize NonCopyable constructorPhilipp Brüschweiler-1/+1
part of #3853
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-26/+32
2013-05-30Remove copy bindings from patterns.Niko Matsakis-3/+3
2013-05-24use deriving for DeepCloneDaniel Micay-10/+1
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+468
This only changes the directory names; it does not change the "real" metadata names.
2011-12-14Remove some duplicated unused parts of std now that they're present in core.Graydon Hoare-93/+0
2011-12-09Swap arg order for option::{may,maybe}Erick Tryzelaar-2/+2
This lets us write the block syntax sugar: option::may(x) { |y| … }
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+93