summary refs log tree commit diff
path: root/src/libcore/option.rs
AgeCommit message (Expand)AuthorLines
2013-01-13add Option map_consume_default methodDaniel Micay-0/+7
2013-01-13add Option methods for swap_unwrap and map_consumeDaniel Micay-0/+18
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest modul...Patrick Walton-0/+1
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the neare...Patrick Walton-1/+0
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest modul...Patrick Walton-0/+1
2013-01-04Rename option::get_default => get_or_default, get_zero => get_or_zeroTim Chevalier-7/+7
2013-01-04Add option::get_zeroTim Chevalier-0/+20
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-0/+2
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ...Patrick Walton-0/+2
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