#506 uncovered a bug in Ref::new_slice_from_suffix that hadn't been previously exercised by our tests. #511 improved test_new_aligned_sized, but there are other test functions which call Ref::new_slice_from_suffix.
We have two options:
- Wait for
Ref's constructors to be rebased on #406 and #498; once that happens, many of Ref's existing tests will be redundant
- Improve other
Ref tests along the same lines as #511
My current plan is to do the former, but I'm leaving this issue open to make sure we don't lose track of this work in case #406 and #498 don't end up landing.
#506 uncovered a bug in
Ref::new_slice_from_suffixthat hadn't been previously exercised by our tests. #511 improvedtest_new_aligned_sized, but there are other test functions which callRef::new_slice_from_suffix.We have two options:
Ref's constructors to be rebased on #406 and #498; once that happens, many ofRef's existing tests will be redundantReftests along the same lines as #511My current plan is to do the former, but I'm leaving this issue open to make sure we don't lose track of this work in case #406 and #498 don't end up landing.