Skip to content

Commit 4600780

Browse files
committed
---
yaml --- r: 144553 b: refs/heads/try2 c: 974f854 h: refs/heads/master i: 144551: 69d0d27 v: v3
1 parent c99edfb commit 4600780

File tree

308 files changed

+4880
-3170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

308 files changed

+4880
-3170
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 97b542bd84623e8bc55aa894e53722c7bf7de6c6
8+
refs/heads/try2: 974f854bb528c9a94af62990965ac62a1aa0dbed
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,7 @@ Some examples of call expressions:
22302230
# fn add(x: int, y: int) -> int { 0 }
22312231
22322232
let x: int = add(1, 2);
2233-
let pi = FromStr::from_str::<f32>("3.14");
2233+
let pi: Option<f32> = FromStr::from_str("3.14");
22342234
~~~~
22352235

22362236
### Lambda expressions

branches/try2/doc/tutorial-tasks.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -113,21 +113,6 @@ do spawn {
113113
}
114114
~~~
115115

116-
By default, the scheduler multiplexes tasks across the available cores, running
117-
in parallel. Thus, on a multicore machine, running the following code
118-
should interleave the output in vaguely random order.
119-
120-
~~~
121-
# use std::io::print;
122-
# use std::task::spawn;
123-
124-
for child_task_number in range(0, 20) {
125-
do spawn {
126-
print(fmt!("I am child number %d\n", child_task_number));
127-
}
128-
}
129-
~~~
130-
131116
## Communication
132117

133118
Now that we have spawned a new task, it would be nice if we could

0 commit comments

Comments
 (0)