Skip to content

Commit f5c3af1

Browse files
committed
Clean up unfinished portions of task tutorial
1 parent 0e7571b commit f5c3af1

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

doc/tutorial-tasks.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ explore some typical patterns in concurrent Rust code, and finally
3636
discuss some of the more exotic synchronization types in the standard
3737
library.
3838

39+
> ***Warning:*** This tutorial is incomplete
40+
3941
## A note about the libraries
4042

4143
While Rust's type system provides the building blocks needed for safe
@@ -295,8 +297,6 @@ let result = ports.foldl(0, |accum, port| *accum + port.recv() );
295297
# fn some_expensive_computation(_i: uint) -> int { 42 }
296298
~~~
297299

298-
# TODO
299-
300300
# Handling task failure
301301

302302
Rust has a built-in mechanism for raising exceptions, written `fail`
@@ -451,13 +451,6 @@ fail;
451451
# };
452452
~~~
453453

454-
455-
# Unfinished notes
456-
457-
## Actor patterns
458-
459-
## Linearity, option dancing, owned closures
460-
461454
## Creating a task with a bi-directional communication path
462455

463456
A very common thing to do is to spawn a child task where the parent

0 commit comments

Comments
 (0)