Skip to content

Commit fd260c5

Browse files
committed
---
yaml --- r: 32157 b: refs/heads/dist-snap c: b260844 h: refs/heads/master i: 32155: 3654591 v: v3
1 parent a996a7c commit fd260c5

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
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 8ef455190494d2fd9a6bb013efd2e59622af2bc4
10+
refs/heads/dist-snap: b26084475c488af920da14052db6461512bbfe2b
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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