Skip to content

Commit 3657ed5

Browse files
committed
Remove println!'s from Deque::retain_back unit tests
1 parent f97361a commit 3657ed5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/deque.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2483,7 +2483,7 @@ mod tests {
24832483
// Retaining more than the elements present, no change.
24842484
tester.retain_back(10);
24852485
assert_eq!(tester.as_slices(), (&[3, 2, 1][..], &[1, 2, 3][..]));
2486-
println!("{} {}", tester.front, tester.back);
2486+
24872487
// Retaining equal to elements present, no change.
24882488
tester.retain_back(6);
24892489
assert_eq!(tester.as_slices(), (&[3, 2, 1][..], &[1, 2, 3][..]));
@@ -2563,19 +2563,16 @@ mod tests {
25632563
assert_eq!(Droppable::count(), LEN as i32);
25642564

25652565
let (front, back) = tester.as_slices();
2566-
println!("A: {:?} {:?}\n", front, back);
25672566

25682567
tester.retain_back(TRUNC);
25692568
assert_eq!(tester.len(), TRUNC);
25702569
assert_eq!(Droppable::count(), TRUNC as i32);
25712570

25722571
let (front, back) = tester.as_slices();
2573-
println!("B: {:?} {:?}\n", front, back);
25742572

25752573
tester.retain_back(0);
25762574

25772575
let (front, back) = tester.as_slices();
2578-
println!("C: {:?} {:?}\n", front, back);
25792576

25802577
assert_eq!(tester.len(), 0);
25812578
assert_eq!(Droppable::count(), 0);

0 commit comments

Comments
 (0)