Skip to content

Commit 94687aa

Browse files
committedFeb 1, 2017
Removes FIXMEs related to rust-lang#22405
1 parent 8e9e055 commit 94687aa

File tree

65 files changed

+16
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+16
-108
lines changed
 

‎src/libcoretest/hash/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ fn test_writer_hasher() {
6666
assert_eq!(hash(& s), 97 + 0xFF);
6767
let cs: &[u8] = &[1, 2, 3];
6868
assert_eq!(hash(& cs), 9);
69-
// FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
7069
let cs: Box<[u8]> = Box::new([1, 2, 3]);
7170
assert_eq!(hash(& cs), 9);
7271

‎src/libcoretest/iter.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,6 @@ fn test_collect() {
700700

701701
#[test]
702702
fn test_all() {
703-
// FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
704703
let v: Box<[isize]> = Box::new([1, 2, 3, 4, 5]);
705704
assert!(v.iter().all(|&x| x < 10));
706705
assert!(!v.iter().all(|&x| x % 2 == 0));
@@ -710,7 +709,6 @@ fn test_all() {
710709

711710
#[test]
712711
fn test_any() {
713-
// FIXME (#22405): Replace `Box::new` with `box` here when/if possible.
714712
let v: Box<[isize]> = Box::new([1, 2, 3, 4, 5]);
715713
assert!(v.iter().any(|&x| x < 10));
716714
assert!(v.iter().any(|&x| x % 2 == 0));

0 commit comments

Comments
 (0)