Daniel Micay
7f00ab3df1
fix benchmark and the tutorials
2013-06-16 01:19:43 -04:00
Daniel Micay
d68be89e69
rm MutableIter
...
replaced with mutable implementations of Iterator
2013-06-14 23:15:42 -04:00
Daniel Micay
585f5f7f79
add IteratorUtil to the prelude
2013-06-14 23:15:42 -04:00
Huon Wilson
7e6a5940cb
std: convert pow, hypot, atan2, log to take arguments by reference.
2013-06-11 11:36:03 +10:00
Huon Wilson
513d2292e5
std: remove foldr and alli methods in vec
2013-06-09 02:22:23 +10:00
Huon Wilson
ed299af625
std: remove fold[lr] in favour of iterators
2013-06-09 02:22:23 +10:00
Patrick Walton
206ab89629
librustc: Stop reexporting the standard modules from prelude.
2013-05-29 19:04:53 -07:00
Olivier Saut
dea6677251
Add a short section on ARC
2013-05-26 19:10:16 +02:00
Ted Horst
34cfd2183b
more testing fallout from core->std/std->extra move
2013-05-23 15:06:29 -05:00
Olivier Saut
3e41639a5e
Add a small section on futures to the tutorial
2013-05-17 23:11:49 +02:00
Björn Steinbrink
bdc182cc41
Use static string with fail!() and remove fail!(fmt!())
...
fail!() used to require owned strings but can handle static strings
now. Also, it can pass its arguments to fmt!() on its own, no need for
the caller to call fmt!() itself.
2013-05-14 16:36:23 +02:00
Daniel Micay
86efd97a10
add gitattributes and fix whitespace issues
2013-05-03 20:01:42 -04:00
Brian Anderson
decd3901d5
core::comm: Modernize constructors to use new
2013-04-18 14:07:35 -07:00
Brian Anderson
679b1dcb62
doc: Rewrite task tutorial intro
...
It doesn't quite reflect reality
2013-04-03 22:54:58 -07:00
Patrick Walton
1e91595520
librustc: Remove fail_unless!
2013-03-29 16:39:08 -07:00
Alex Crichton
be57d745d2
Removing unused imports
2013-03-28 23:56:46 -04:00
Patrick Walton
d7e74b5e91
librustc: Convert all uses of assert
over to fail_unless!
2013-03-07 22:37:57 -08:00
Patrick Walton
a3f728238b
librustc: Forbid chained imports and fix the logic for one-level renaming imports
2013-03-02 16:49:30 -08:00
Alex Crichton
df481473da
Fix unused imports in the tutorials
2013-02-26 17:52:16 -05:00
Brian Anderson
dab6a85230
core: Extract comm from pipes. #4742
2013-02-21 17:36:54 -08:00
Luqman Aden
178882c98f
tests/tutorials: Get rid of move
.
2013-02-15 02:49:55 -08:00
Nick Desaulniers
13fe167dbb
remove die definition and use in doc tests
2013-02-14 17:33:16 -08:00
Marvin Löbel
af4972f3ce
Fixed fmt!
, tests, doc-tests.
2013-02-03 15:37:25 -08:00
Nick Desaulniers
7868b6bf55
Remove fail keyword from lexer & parser and clean up remaining calls to
...
fail
Fix merge conflicts - Issue 4524
2013-02-01 00:15:42 -08:00
Niko Matsakis
0682ad0eb9
Finalize moves-based-on-type implementation.
...
Changes:
- Refactor move mode computation
- Removes move mode arguments, unary move, capture clauses
(though they still parse for backwards compatibility)
- Simplify how moves are handled in trans
- Fix a number of illegal copies that cropped up
- Workaround for bug involving def-ids in params
(see details below)
Future work (I'll open bugs for these...):
- Improve error messages for moves that are due
to bindings
- Add support for moving owned content like a.b.c
to borrow check, test in trans (but I think it'll
"just work")
- Proper fix for def-ids in params
Def ids in params:
Move captures into a map instead of recomputing.
This is a workaround for a larger bug having to do with the def-ids associated
with ty_params, which are not always properly preserved when inlining. I am
not sure of my preferred fix for the larger bug yet. This current fix removes
the only code in trans that I know of which relies on ty_param def-ids, but
feels fragile.
2013-01-31 12:09:00 -08:00
Chris Peterson
0b6487cf2c
doc: Fix tutorial typo and remove unnecessary xfail-test
2013-01-20 22:56:45 -08:00
Brian Anderson
80ef7243ea
Remove spawn_listener, spawn_conversation
...
These are not needed in a pipe-based Rustiverse
2012-12-14 14:59:32 -08:00
Tim Chevalier
213773ccb2
Fix tasks tutorial tests
2012-12-12 13:38:19 -08:00
Tim Chevalier
ea5e3d21ff
Make moves explicit in doc examples
...
Had to remove the buffalo example. It was awkward to update for
explicit moves.
2012-10-12 20:43:37 -07:00
Tim Chevalier
4b3be853af
Copyedit tasks tutorial
2012-10-09 16:14:55 -07:00
Brian Anderson
f5c3af1c1a
Clean up unfinished portions of task tutorial
2012-10-07 21:29:47 -07:00
Gonçalo Cabrita
0eb9d41454
Fixed a few typos in the tutorials.
2012-10-04 21:28:45 +01:00
Brian Anderson
7b7c2a49b9
docs: Begin integrating bblum's linked failure blog post
2012-10-01 19:24:48 -07:00
Brian Anderson
84d10c68fb
docs: Task tutorial cleanup
2012-10-01 19:24:48 -07:00
Brian Anderson
5d8b694e14
docs: More task tutorial
2012-10-01 17:45:33 -07:00
Brian Anderson
2f95f7d8de
doc: Mention std::par in task tutorial
2012-09-29 19:29:28 -07:00
Brian Anderson
6d97c4177c
docs: Begin rewriting the task tutorial
2012-09-29 19:21:12 -07:00
Brian Anderson
5424f21d5d
docs: Give all tutorials consistent titles and intro sections
2012-09-26 19:00:13 -07:00
Brian Anderson
fd0de8bfd7
doc: Split out task tutorail. Add links to sub-tutorials
2012-09-22 15:34:01 -07:00