File: README.md

package info (click to toggle)
rust-cargo-mutants 25.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,452 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (2)
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.