Skip to content

Commit 24d2326

Browse files
committed
---
yaml --- r: 23094 b: refs/heads/master c: c64ffa4 h: refs/heads/master v: v3
1 parent d6b9aec commit 24d2326

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
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: c0874dbd21c89854c68e8db7201f5557ab5e6259
2+
refs/heads/master: c64ffa4f5b72dacb8d1a62a9dd3cbce5807bb927
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/test/run-pass/pipe-presentation-examples.rs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ macro_rules! select_if {
2121
-> $nexts:ident $es:expr),+
2222
], )*
2323
} => {
24-
log_syntax!{select_if1};
2524
if $index == $count {
2625
match move pipes::try_recv($port) {
2726
$(some($message($($(copy $x,)+)* next)) => {
@@ -47,7 +46,6 @@ macro_rules! select_if {
4746
$index:expr,
4847
$count:expr,
4948
} => {
50-
log_syntax!{select_if2};
5149
fail
5250
}
5351
}
@@ -60,12 +58,6 @@ macro_rules! select {
6058
} )+
6159
} => {
6260
let index = pipes::selecti([$(($port).header()),+]/_);
63-
log_syntax!{select};
64-
log_syntax!{
65-
select_if!{index, 0, $( $port => [
66-
$($message$(($($x),+))dont_type_this* -> $next $e),+
67-
], )+}
68-
};
6961
select_if!{index, 0, $( $port => [
7062
$($message$(($($x),+))dont_type_this* -> $next $e),+
7163
], )+}
@@ -134,11 +126,10 @@ fn draw_two_frames(+channel: double_buffer::client::acquire) {
134126
#[cfg(bad1)]
135127
fn draw_two_frames_bad1(+channel: double_buffer::client::acquire) {
136128
let channel = request(channel);
137-
let channel = select! {
129+
select! {
138130
channel => {
139131
give_buffer(buffer) -> channel {
140132
render(&buffer);
141-
channel
142133
}
143134
}
144135
};
@@ -168,4 +159,4 @@ fn draw_two_frames_bad2(+channel: double_buffer::client::acquire) {
168159
};
169160
}
170161

171-
fn main() { }
162+
fn main() { }

0 commit comments

Comments
 (0)