File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: 681e6dd40d5882465f74eebf2f1802c76b0df063
17
+ refs/heads/auto: df481473dae024e522afd669646fa779d97c5e2d
Original file line number Diff line number Diff line change @@ -1611,7 +1611,6 @@ The following are examples of structure expressions:
1611
1611
# struct Point { x: float, y: float }
1612
1612
# struct TuplePoint(float, float);
1613
1613
# mod game { pub struct User { name: &str, age: uint, score: uint } }
1614
- # use game;
1615
1614
Point {x: 10f, y: 20f};
1616
1615
TuplePoint(10f, 20f);
1617
1616
let u = game::User {name: "Joe", age: 35u, score: 100_000};
Original file line number Diff line number Diff line change @@ -468,7 +468,6 @@ Here is the function that implements the child task:
468
468
469
469
~~~~
470
470
# use std::comm::DuplexStream;
471
- # use comm::{Port, Chan};
472
471
fn stringifier(channel: &DuplexStream<~str, uint>) {
473
472
let mut value: uint;
474
473
loop {
@@ -491,7 +490,6 @@ Here is the code for the parent task:
491
490
492
491
~~~~
493
492
# use std::comm::DuplexStream;
494
- # use comm::{Port, Chan};
495
493
# use task::spawn;
496
494
# fn stringifier(channel: &DuplexStream<~str, uint>) {
497
495
# let mut value: uint;
Original file line number Diff line number Diff line change @@ -2270,7 +2270,9 @@ fn chicken_farmer() {
2270
2270
// The same, but name it `my_chicken`
2271
2271
use my_chicken = farm::chicken;
2272
2272
...
2273
+ # my_chicken();
2273
2274
}
2275
+ # chicken();
2274
2276
# }
2275
2277
~~~
2276
2278
You can’t perform that action at this time.
0 commit comments