From 87b166d94a16d3b7e32ba53d0cec7a5d3fd776ba Mon Sep 17 00:00:00 2001 From: klutzy Date: Wed, 6 Nov 2013 12:16:47 +0900 Subject: std: Remove unused attributes This also enables two tests properly. --- src/libstd/cell.rs | 2 -- src/libstd/vec.rs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/cell.rs b/src/libstd/cell.rs index 019cd53be55..e49cf3e5303 100644 --- a/src/libstd/cell.rs +++ b/src/libstd/cell.rs @@ -10,8 +10,6 @@ //! Types dealing with dynamic mutability -#[missing_doc]; - use prelude::*; use cast; use util::NonCopyable; diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 5cc344fdfc1..7e797cec03f 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -2704,7 +2704,7 @@ mod tests { assert_eq!(a.init(), &[11]); } - #[init] + #[test] #[should_fail] fn test_init_empty() { let a: ~[int] = ~[]; @@ -2719,7 +2719,7 @@ mod tests { assert_eq!(a.initn(2), &[11]); } - #[init] + #[test] #[should_fail] fn test_initn_empty() { let a: ~[int] = ~[]; -- cgit 1.4.1-3-g733a5