about summary refs log tree commit diff
path: root/src/libcore/bool.rs
AgeCommit message (Collapse)AuthorLines
2013-05-08Remove #[cfg(notest)] and use #[cfg(not(test))] to cooincide with #[cfg(debug)]Zack Corr-4/+4
2013-05-03Remove extra `#[cfg(stage0)]`gifnksm-3/+0
2013-05-02libcore: Export core::from_str::FromStr from core::preludegifnksm-0/+1
2013-04-11bool: implement Ord and TotalOrdDaniel Micay-27/+72
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-4/+4
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-14/+14
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-1/+1
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-1/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-4/+4
2013-03-06bool: make the from_str function a FromStr implDaniel Micay-8/+14
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-2/+2
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-17Add a license check to tidy. #4018Brian Anderson-1/+0
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-0/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+1
contain at least two components. r=graydon
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-30core: Make core.rc more readable. CleanupBrian Anderson-0/+1
2012-11-28Register snapshotsBrian Anderson-8/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+8
2012-09-26libcore: De-export boolPatrick Walton-20/+16
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-7/+0
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+7
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-3/+2
2012-09-04libcore: "import" -> "use"Patrick Walton-1/+1
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-0/+8
2012-08-26Camel case the option typeBrian Anderson-5/+5
2012-08-13De-mode-ify a few minor libcore modules.Graydon Hoare-5/+11
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-3/+3
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-6/+6
#2907.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-23/+21
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-01Convert to new closure syntaxBrian Anderson-2/+2
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-03-10core: Cleanup bool moduleBrian Anderson-20/+20
Instead of defining a type for bool, just use the bool type directly in order to be more consistent with other modules. Cleanup the comments a bit.
2012-03-09core: Convert to rustdocBrian Anderson-41/+18
2012-02-22Make the various from_str functions return optionsMarijn Haverbeke-5/+5
So that they can be used with user input without causing task failures. Closes #1335
2012-02-15Rewrite exhaustiveness checkerMarijn Haverbeke-1/+2
Issue #352 Closes #1720 The old checker would happily accept things like 'alt x { @some(a) { a } }'. It now properly descends into patterns, checks exhaustiveness of booleans, and complains when number/string patterns aren't exhaustive.
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2012-01-17libcore: Move core tests into libcoreBrian Anderson-0/+20
2012-01-11libcore: Fix long linesBrian Anderson-2/+4
2012-01-11make rustdocs more terse for bool.rs where it is obvious to programmers as ↵Roland Tanglao-45/+13
per feedback from graydon
2012-01-11Change doc comments to rustdoc in bool.rsRoland Tanglao-83/+73
2011-12-16core: marked fns as pure where possibleStefan Plantikow-1/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-0/+134