diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-01-09 15:56:38 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-01-09 21:59:07 -0500 |
| commit | fc60ace7a9ec6feed79cf52cc245f4d7c048fc8b (patch) | |
| tree | e7de14e8284cc6ca97e837c6ed1d479247f8786a /src/librustuv | |
| parent | c5bcb22719a8af3075fdd204003a748022022479 (diff) | |
| download | rust-fc60ace7a9ec6feed79cf52cc245f4d7c048fc8b.tar.gz rust-fc60ace7a9ec6feed79cf52cc245f4d7c048fc8b.zip | |
port over the old tests to the new `Rc`
Diffstat (limited to 'src/librustuv')
| -rw-r--r-- | src/librustuv/idle.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustuv/idle.rs b/src/librustuv/idle.rs index 80d21404e4b..3d6e81d0d6f 100644 --- a/src/librustuv/idle.rs +++ b/src/librustuv/idle.rs @@ -127,7 +127,7 @@ mod test { } fn mk(v: uint) -> (~IdleWatcher, Chan) { - let rc = Rc::from_send(RefCell::new((None, 0))); + let rc = Rc::new(RefCell::new((None, 0))); let cb = ~MyCallback(rc.clone(), v); let cb = cb as ~Callback:; let cb = unsafe { cast::transmute(cb) }; |
