Skip to content

Commit 594e32f

Browse files
committed
---
yaml --- r: 32218 b: refs/heads/dist-snap c: cfbc7cb h: refs/heads/master v: v3
1 parent 9a95972 commit 594e32f

31 files changed

+319
-237
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: e9b7ce6f57e8ca74dfdb16ba91fcae38d2c44798
10+
refs/heads/dist-snap: cfbc7cbdc7cd09490c7c723758329b5ba78e5f9f
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/doc/tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2966,7 +2966,7 @@ computations in parallel. We might write something like:
29662966

29672967
~~~~
29682968
import task::spawn;
2969-
import pipes::{stream, port, chan};
2969+
import pipes::{stream, Port, Chan};
29702970
29712971
let (chan, port) = stream();
29722972
@@ -3016,7 +3016,7 @@ some other expensive computation and then waiting for the child's result
30163016
to arrive on the port:
30173017

30183018
~~~~
3019-
# import pipes::{stream, port, chan};
3019+
# import pipes::{stream, Port, Chan};
30203020
# fn some_other_expensive_computation() {}
30213021
# let (chan, port) = stream::<int>();
30223022
# chan.send(0);
@@ -3038,7 +3038,7 @@ Here is the function that implements the child task:
30383038

30393039
~~~~
30403040
# import std::comm::DuplexStream;
3041-
# import pipes::{port, chan};
3041+
# import pipes::{Port, Chan};
30423042
fn stringifier(channel: DuplexStream<~str, uint>) {
30433043
let mut value: uint;
30443044
loop {
@@ -3061,7 +3061,7 @@ Here is the code for the parent task:
30613061

30623062
~~~~
30633063
# import std::comm::DuplexStream;
3064-
# import pipes::{port, chan};
3064+
# import pipes::{Port, Chan};
30653065
# import task::spawn;
30663066
# fn stringifier(channel: DuplexStream<~str, uint>) {
30673067
# let mut value: uint;

branches/dist-snap/src/libcore/core.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ mod comm;
241241
mod task;
242242
//#[warn(non_camel_ase_types)] pipec code continues to trip this warning
243243
mod future;
244+
#[warn(non_camel_case_types)]
244245
mod pipes;
245246

246247
// Runtime and language-primitive support

0 commit comments

Comments
 (0)