cargo-mutants 27.0.0

Inject bugs and see if your tests catch them
1
2
3
4
5
6
7
# `mut_ref` test case

An example of a function that returns a mut reference into a mut argument.

cargo-mutants generates a mutant that changes the return value to a mut reference
into a new value on the heap. As a result, tests that check the return value
should fail.