I've added two new tests to Circular Buffer to check for memory leaks

(Edit: I’m posting this on the forums because github asked me to ^^ since the repos are currently on breather mode)

These are based on the clear_actually_frees_up_its_elements test, to check that the student’s program isn’t leaking memory after doing either read or overwrite.

My first unsafe iteration passed all the tests, but my mentor noticed that I was leaking memory on overwrite. This test should help take this burden off of mentors, and accelerate the learning feedback loop for students :slight_smile:

The PR is here: Circular Buffer: added memory leak tests for `overwrite` and `read` by felix91gr · Pull Request #1652 · exercism/rust · GitHub