Skip to content

Commit

Permalink
fix: docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Nov 18, 2024
1 parent 8fbbd8b commit a651854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/skip_calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ The motivating example for this feature is Rust's `with_capacity` function on `V

cargo-mutants normally mutates expressions in function calls, and in this case it will try mutating the capacity expression to `4 / n` etc.

These mutations would change the program behavior. Assuming the original calculation is correct the mutation then the mutation will likly be wrong.
These mutations would change the program behavior. Assuming the original calculation is correct the mutation then the mutation will likely be wrong.

However, many authors may feel that preallocating the estimated memory needs is worth doing but not worth specifically writing tests or assertions for, and so they would like to skip generating mutants in any calls to these functions.

0 comments on commit a651854

Please sign in to comment.