Fix test for fixed `bounds_to_string`
@@ -122,13 +122,11 @@ fn as_slice() {
fn bounds_to_string() {
let mut v = staticvec![1, 2, 3, 4];
let mut it = v.iter();
- it.next_back();
assert_eq!(
"Current value of element at `start`: 1\nCurrent value of element at `end`: 4",
it.bounds_to_string()
);
let mut itm = v.iter_mut();
- itm.next_back();
assert_eq!(
"Current value of element at `start`: 1\nCurrent value of element at `end`: 4",
itm.bounds_to_string()
