Skip to content

Commit 12dba35

Browse files
committed
---
yaml --- r: 23038 b: refs/heads/master c: 8d1922d h: refs/heads/master v: v3
1 parent 6215ec9 commit 12dba35

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
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: 184da128965d8c833c02feb3f16097e3a1a64417
2+
refs/heads/master: 8d1922d4c80335d7c850e5856ae0ec549b8a0481
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/pipes.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,10 @@ trait selectable {
624624
pure fn header() -> *packet_header;
625625
}
626626

627+
impl of selectable for *packet_header {
628+
pure fn header() -> *packet_header { self }
629+
}
630+
627631
/// Returns the index of an endpoint that is ready to receive.
628632
fn selecti<T: selectable>(endpoints: &[T]) -> uint {
629633
wait_many(endpoints.map(|p| p.header()))

0 commit comments

Comments
 (0)