From fc60ace7a9ec6feed79cf52cc245f4d7c048fc8b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 9 Jan 2014 15:56:38 -0500 Subject: port over the old tests to the new `Rc` --- src/libstd/option.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/option.rs') diff --git a/src/libstd/option.rs b/src/libstd/option.rs index f49244a3607..7ce9873c2da 100644 --- a/src/libstd/option.rs +++ b/src/libstd/option.rs @@ -509,7 +509,7 @@ mod tests { } } - let i = Rc::from_send(RefCell::new(0)); + let i = Rc::new(RefCell::new(0)); { let x = R(i.clone()); let opt = Some(x); -- cgit 1.4.1-3-g733a5