about summary refs log tree commit diff
path: root/src/libstd/option.rs
AgeCommit message (Expand)AuthorLines
2014-02-11Move replace and swap to std::mem. Get rid of std::utilEdward Wang-2/+2
2014-02-08std::fmt: convert the formatting traits to a proper self.Huon Wilson-2/+2
2014-02-05Implement clone() for TCP/UDP/Unix socketsAlex Crichton-1/+0
2014-02-04Replace NonCopyable usage with NoPodFlavio Percoco-1/+2
2014-02-03std: Remove io::io_errorAlex Crichton-1/+1
2014-02-02std: rename fmt::Default to `Show`.Huon Wilson-1/+1
2014-01-31Fix minor doc typosVirgile Andreani-1/+1
2014-01-25Uppercase numeric constantsChris Wong-2/+2
2014-01-21Remove unnecessary parentheses.Huon Wilson-2/+2
2014-01-18Rename iterators for consistencyPalmer Cox-12/+12
2014-01-15Issue #3511 - Rationalize temporary lifetimes.Niko Matsakis-0/+19
2014-01-11Remove re-exports of std::io::stdio::{print, println} in the prelude.Brendan Zabarauskas-1/+1
2014-01-09port over the old tests to the new `Rc`Daniel Micay-1/+1
2014-01-07stdtest: Fix all leaked trait importsAlex Crichton-0/+1
2014-01-08Renamed Option::map_default and mutate_default to map_or and mutate_or_setMarvin Löbel-4/+4
2013-12-29auto merge of #11134 : lucab/rust/lucab/libstd-doc, r=cmrbors-1/+1
2013-12-27std: uniform modules titles for docLuca Bruno-1/+1
2013-12-26std: result::collect to take an iterator, add option::collectErick Tryzelaar-1/+65
2013-12-21std: Remove some @-boxesBrian Anderson-6/+12
2013-12-19std::str: replace .as_imm_buf with .as_ptr.Huon Wilson-2/+2
2013-12-14Remove {As,Into,To}{Option,Either,Result} traits.Chris Morgan-122/+0
2013-11-26test: Remove non-procedure uses of `do` from compiletest, libstd tests,Patrick Walton-2/+2
2013-11-19libstd: Change all uses of `&fn(A)->B` over to `|A|->B` in libstdPatrick Walton-9/+9
2013-11-01Fixed unused import warning in testsMarvin Löbel-1/+1
2013-11-01Removed legacy implementationsMarvin Löbel-61/+0
2013-11-01Cleaned up the option and result module in more detailMarvin Löbel-36/+30
2013-11-01Reordered the methods in std::Option and std::ResultMarvin Löbel-167/+216
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-6/+6
2013-10-09option: rewrite the API to use compositionDaniel Micay-59/+24
2013-10-02Check enums in missing_doc lintSteven Fackler-0/+1
2013-09-30std: Remove usage of fmt!Alex Crichton-16/+18
2013-09-25rustdoc: Change all code-blocks with a scriptAlex Crichton-2/+2
2013-09-21Fix example in std::OptionGrigoriy-1/+1
2013-09-17std: Remove Option.or_{default,zero}Erick Tryzelaar-19/+1
2013-09-16switch Drop to `&mut self`Daniel Micay-1/+1
2013-09-12std: Restore Option::chain{,_mut}_ref as and_then{,_mut}_refErick Tryzelaar-4/+24
2013-09-12std: Remove Zero impl for OptionErick Tryzelaar-5/+0
2013-09-12std: Add a bunch of Default implsErick Tryzelaar-0/+1
2013-09-12std: Rename {Option,Result}::chain{,_err}* to {and_then,or_else}Erick Tryzelaar-36/+6
2013-09-12std: Add ToEither/IntoEither/AsEitherErick Tryzelaar-0/+42
2013-09-12std: Add ToResult/IntoResult/AsResultErick Tryzelaar-0/+41
2013-09-12std: Add ToOption/IntoOption/AsOptionErick Tryzelaar-0/+65
2013-09-12std: Add Option.{and,and_then,or,or_else}Erick Tryzelaar-8/+81
2013-09-12std: Add Option.unwrap_or_else and a couple testsErick Tryzelaar-0/+47
2013-09-12std: Add Option.{result_or_default,or_default} that uses DefaultErick Tryzelaar-0/+20
2013-09-12std: add default implementations to OptionErick Tryzelaar-0/+5
2013-09-12std: rename Option::unwrap_or_default() to unwrap_or()Erick Tryzelaar-1/+1
2013-09-09rename `std::iterator` to `std::iter`Daniel Micay-6/+6
2013-09-01std/extra: Add ExactSize for Bitv, DList, RingBuf, Option iteratorsblake2-ppc-1/+3
2013-08-27option: rm implementation of AddDaniel Micay-13/+0