Skip to content

Commit 6133e10

Browse files
committed
Reword mutant exclude comment
Fix the comment for an mutant exclude as a follow up to the PR where it was added.
1 parent 3c5954e commit 6133e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cargo/mutants.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exclude_re = [
1212
"serde_details::<impl de::Visitor<'_>", # Skip serde mutation tests
1313
"Iterator", # Mutating operations in an iterator can result in an infinite loop
1414
"<impl encoding::Decodable for .*>::decoder", # Mutant replacing Default::default() is equivalent to returning new()
15-
"<impl encoding::Decoder for .*>::read_limit", # Function is just a cast for optimization.
15+
"<impl encoding::Decoder for .*>::read_limit", # Function is for optimization and does not need to be tested.
1616

1717

1818
# ----------------------------------Crate-specific exclusions----------------------------------

0 commit comments

Comments
 (0)