summary refs log tree commit diff
path: root/src/libcore/option.rs
AgeCommit message (Expand)AuthorLines
2012-12-18core: use movable self to clean up option/result.Erick Tryzelaar-40/+58
2012-12-13Replace some Eq impls with deriving_eqBrian Anderson-21/+1
2012-12-04librustc: Implement moves based on type. r=nmatsakisPatrick Walton-2/+2
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-28Register snapshotsBrian Anderson-24/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+24
2012-11-08WhitespaceBrian Anderson-1/+1
2012-11-08Change option::expect to not require a Copy bound, and move instead.Brian J. Burg-4/+5
2012-10-23Remove uses of binary move - <- - from tests and librariesTim Chevalier-1/+1
2012-10-19Remove superfluous by-ref in option::get, option::get_default, option::expectTim Chevalier-9/+9
2012-10-18Rename str::to_unique to str::to_owned.Erick Tryzelaar-1/+1
2012-10-12Make moves explicit in core testsTim Chevalier-6/+6
2012-10-11Write option::chain and result::chain with `match move`Tim Chevalier-5/+3
2012-10-04Forbid deprecated modes again in coreTim Chevalier-2/+1
2012-10-04De-mode comm::ChanTim Chevalier-2/+2
2012-10-04core: Improve option docs a littleBrian Anderson-31/+105
2012-10-02Removing explicit uses of + modeTim Chevalier-17/+15
2012-10-01Attempt to fix option::test_unwrap_str breakage.Graydon Hoare-4/+4
2012-10-01De-export option and option_iter. Part of #3583.Graydon Hoare-19/+21
2012-09-28Add a demoded version of ptr::addr_ofTim Chevalier-4/+4
2012-09-28core: Demode patternsBrian Anderson-5/+5
2012-09-27core: More option demodingBrian Anderson-18/+9
2012-09-26core: Replace map/map_default with map_ref/map_default_refBrian Anderson-23/+5
2012-09-25Check more things with deprecated_modesBrian Anderson-1/+1
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-22/+0
2012-09-23core: Demode optionBrian Anderson-27/+31
2012-09-23Make it illegal to use modes in a fn signature with providingNiko Matsakis-3/+3
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+23
2012-09-11Make moves explicit in argumentsTim Chevalier-3/+3
2012-09-10Make moves explicit in task; also make option::unwrap take its argument by moveTim Chevalier-4/+6
2012-09-10Make more moves explicit in libcoreTim Chevalier-10/+10
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-4/+4
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-1/+1
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+1
2012-09-04core: Remove struct ctorsBrian Anderson-1/+7
2012-09-02core: warn(non_camel_case_types) everywhere, with few exceptionsBrian Anderson-2/+2
2012-08-27rustc: Implement equality for option typesPatrick Walton-0/+21
2012-08-26Camel case the option typeBrian Anderson-63/+63
2012-08-25Implement option::unwrap safely...!Ben Blum-16/+11
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-1/+1
2012-08-20core: adding option::or, a function to return the leftmost of two some() valu...Daniel Patterson-0/+10
2012-08-17Remove the class keywordBrian Anderson-1/+1
2012-08-16Add option::get_refBen Blum-0/+16
2012-08-14De-mode task.rs and add some option::foo_ref() helpersBen Blum-3/+51
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-1/+1
2012-08-08Convert impls to new syntaxBrian Anderson-2/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-9/+9
2012-08-05Switch alts to use arrowsBrian Anderson-10/+13
2012-08-03Be more defensive in pipes (#3098)Eric Holk-2/+2
2012-08-02option::swap_unwrap, the ubiquitous 'option dance'.Ben Blum-2/+27