about summary refs log tree commit diff
path: root/src/libcoretest/iter.rs
diff options
context:
space:
mode:
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));