Marijn Haverbeke
|
7a34ac5890
|
Revert order of arguments to option::maybe and from_maybe
Closes #2019
|
2012-03-20 14:55:07 +01:00 |
|
Brian Anderson
|
b968c8e6cd
|
Name types after their modules instead of 't'
|
2012-03-13 15:14:17 -07:00 |
|
Brian Anderson
|
b22556a6f8
|
core: Convert to rustdoc
|
2012-03-09 22:56:53 -08:00 |
|
Marijn Haverbeke
|
ffd50b9cdf
|
Make the various from_str functions return options
So that they can be used with user input without causing task
failures.
Closes #1335
|
2012-02-22 13:18:15 +01:00 |
|
Brian Anderson
|
a896eb326e
|
core: Fix unused variable warning
|
2012-02-21 14:25:51 -08:00 |
|
Brian Anderson
|
910a32c7c7
|
core: Add option::unwrap
This function uses some unsafe code to move the value out of an option.
|
2012-02-21 13:55:50 -08:00 |
|
Brian Anderson
|
4601810747
|
core: Remove a useless test from option mod
|
2012-02-20 22:43:33 -08:00 |
|
Niko Matsakis
|
5e13d19cc0
|
s/block()/fn()/g
|
2012-01-23 19:06:33 -08:00 |
|
Patrick Walton
|
194d8e3bd5
|
lib: ";" to "," in enums
|
2012-01-19 18:04:24 -08:00 |
|
Patrick Walton
|
97ed871fc1
|
libcore: "tag" -> "enum"
|
2012-01-19 15:56:54 -08:00 |
|
Tim Chevalier
|
04a2887f87
|
Remove '.' after nullary tags in patterns
Does what it says on the tin.
The next commit will remove support for this syntax.
|
2012-01-18 23:17:34 -08:00 |
|
Brian Anderson
|
17bf4b0e1b
|
libcore: Move core tests into libcore
|
2012-01-17 19:41:05 -08:00 |
|
Marijn Haverbeke
|
60ae1590af
|
Switch to new param kind bound syntax
And remove support for the old syntax
|
2012-01-05 15:50:02 +01:00 |
|
Marijn Haverbeke
|
15be2fc73a
|
Add 'copy' bounds to functions that were faultily accepted without
Issue #1390
|
2012-01-02 15:31:58 +01:00 |
|
Graydon Hoare
|
dbfa1b5689
|
Merge pull request #1317 from boggle/fix1315
fix to #1315 + small additions to std::either and result
|
2011-12-16 13:01:47 -08:00 |
|
Stefan Plantikow
|
bfbaadc694
|
core: marked fns as pure where possible
|
2011-12-16 17:41:07 +01:00 |
|
Niko Matsakis
|
2833ca478c
|
reorder args to the various vec, option fns so blk comes last
|
2011-12-16 07:17:23 -08:00 |
|
Graydon Hoare
|
fa9ad984fb
|
Copy first batch of material from libstd to libcore.
|
2011-12-13 16:34:50 -08:00 |
|