Skip to content

Commit 3ee6217

Browse files
committed
---
yaml --- r: 28073 b: refs/heads/try c: b260844 h: refs/heads/master i: 28071: 9b70e5a v: v3
1 parent 79f7c8e commit 3ee6217

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: 8ef455190494d2fd9a6bb013efd2e59622af2bc4
5+
refs/heads/try: b26084475c488af920da14052db6461512bbfe2b
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/src/libstd/timer.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//! Utilities that leverage libuv's `uv_timer_*` API
22
3+
#[forbid(deprecated_mode)];
4+
#[forbid(deprecated_pattern)];
5+
36
import uv = uv;
47
import uv::iotask;
58
import iotask::iotask;
@@ -24,7 +27,7 @@ export delayed_send, sleep, recv_timeout;
2427
* * val - a value of type T to send over the provided `ch`
2528
*/
2629
fn delayed_send<T: copy send>(iotask: iotask,
27-
msecs: uint, ch: comm::Chan<T>, val: T) {
30+
msecs: uint, ch: comm::Chan<T>, +val: T) {
2831
unsafe {
2932
let timer_done_po = core::comm::port::<()>();
3033
let timer_done_ch = core::comm::chan(timer_done_po);

0 commit comments

Comments
 (0)