summary refs log tree commit diff
path: root/src/libcore/bool.rs
AgeCommit message (Collapse)AuthorLines
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