Skip to content

Commit e715070

Browse files
committed
---
yaml --- r: 23495 b: refs/heads/master c: b260844 h: refs/heads/master i: 23493: 1481b69 23491: f69330b 23487: 54eec5c v: v3
1 parent 28f1fcd commit e715070

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,5 +1,5 @@
11
---
2-
refs/heads/master: 8ef455190494d2fd9a6bb013efd2e59622af2bc4
2+
refs/heads/master: b26084475c488af920da14052db6461512bbfe2b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/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)