Skip to content

Commit 3f42d70

Browse files
committed
---
yaml --- r: 23998 b: refs/heads/master c: d53cfd2 h: refs/heads/master v: v3
1 parent 16f7396 commit 3f42d70

File tree

10 files changed

+427
-428
lines changed

10 files changed

+427
-428
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2ac64d91ac9df242c780d162863c8c0abce448b1
2+
refs/heads/master: d53cfd225a4e2b671b2b40b71725394c24fb1761
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/pipes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ impl<T: Send> PortSet<T> : Recv<T> {
11071107
}
11081108

11091109
/// A channel that can be shared between many senders.
1110-
type SharedChan<T: Send> = unsafe::Exclusive<Chan<T>>;
1110+
type SharedChan<T: Send> = private::Exclusive<Chan<T>>;
11111111

11121112
impl<T: Send> SharedChan<T>: Channel<T> {
11131113
fn send(+x: T) {
@@ -1131,7 +1131,7 @@ impl<T: Send> SharedChan<T>: Channel<T> {
11311131

11321132
/// Converts a `chan` into a `shared_chan`.
11331133
fn SharedChan<T:Send>(+c: Chan<T>) -> SharedChan<T> {
1134-
unsafe::exclusive(move c)
1134+
private::exclusive(move c)
11351135
}
11361136

11371137
/// Receive a message from one of two endpoints.

0 commit comments

Comments
 (0)