Skip to content

Commit ae6979f

Browse files
committed
---
yaml --- r: 21387 b: refs/heads/snap-stage3 c: b260844 h: refs/heads/master i: 21385: c8ffef3 21383: fbf004a v: v3
1 parent 07bea85 commit ae6979f

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 8ef455190494d2fd9a6bb013efd2e59622af2bc4
4+
refs/heads/snap-stage3: b26084475c488af920da14052db6461512bbfe2b
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)