From a651854f26f9aa6ace512a97cad3f59a178b9980 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Sun, 17 Nov 2024 21:31:05 -0800 Subject: [PATCH] fix: docs typo --- book/src/skip_calls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/skip_calls.md b/book/src/skip_calls.md index e8cce1af..47ff875a 100644 --- a/book/src/skip_calls.md +++ b/book/src/skip_calls.md @@ -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.