about summary refs log tree commit diff
path: root/src/libcoretest/iter.rs
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2017-01-30 21:38:13 -0500
committerWesley Wiser <wwiser@gmail.com>2017-01-31 21:27:13 -0500
commit94687aaf58c9a935ed3efb84d0f3b60e00342dcc (patch)
treea42706bc2694e3dc22245713b2947b33ab3f865a /src/libcoretest/iter.rs
parent8e9e0552767113ec24f6f8f207ade36a7bc5a091 (diff)
downloadrust-94687aaf58c9a935ed3efb84d0f3b60e00342dcc.tar.gz
rust-94687aaf58c9a935ed3efb84d0f3b60e00342dcc.zip
Removes FIXMEs related to #22405
Diffstat (limited to 'src/libcoretest/iter.rs')
-rw-r--r--src/libcoretest/iter.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libcoretest/iter.rs b/src/libcoretest/iter.rs
index 99d31293053..6d02f76c33d 100644
--- a/src/libcoretest/iter.rs
+++ b/src/libcoretest/iter.rs
@@ -700,7 +700,6 @@ fn test_collect() {
 
 #[test]
 fn test_all() {
-    // FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
     let v: Box<[isize]> = Box::new([1, 2, 3, 4, 5]);
     assert!(v.iter().all(|&x| x < 10));
     assert!(!v.iter().all(|&x| x % 2 == 0));
@@ -710,7 +709,6 @@ fn test_all() {
 
 #[test]
 fn test_any() {
-    // FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
     let v: Box<[isize]> = Box::new([1, 2, 3, 4, 5]);
     assert!(v.iter().any(|&x| x < 10));
     assert!(v.iter().any(|&x| x % 2 == 0));