Move mutant exclude to correct crate section
What changed, and why it matters
This commit is a trivial configuration cleanup. It moves one test-mutation exclusion rule from the wrong section to the correct section in a file that tells the mutation-testing tool which functions to skip. No code behavior changes, and there is no security relevance.
No action needed; this is a non-functional configuration tidy-up.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch edits .cargo/mutants.toml, moving the exclude_re entry for Sequence::from_512_second_intervals from the ‘primitives’ section to the ‘units’ section. This is purely a metadata reorganization for cargo-mutants; no Rust source code is modified and no runtime behavior is affected.
Changed components
.cargo/mutants.tomlInspect captured patch +1 / −1
diff --git a/.cargo/mutants.toml b/.cargo/mutants.toml
index c9851566..4b737219 100644
--- a/.cargo/mutants.toml
+++ b/.cargo/mutants.toml
@@ -31,9 +31,9 @@ exclude_re = [
"MedianTimePast::to_consensus_u32", # Deprecated
"Height::to_consensus_u32", # Deprecated
"Sequence::to_hex", # Deprecated
+ "Sequence::from_512_second_intervals", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask
# primitives
- "Sequence::from_512_second_intervals", # Mutant from replacing | with ^, this returns the same value since the XOR is taken against the u16 with an all-zero bitmask
"Opcode::classify", # Not possible to kill all mutants without individually checking every opcode classification
"Block<Checked>::cached_witness_root", # Skip getters
"Block<Checked>::transactions", # Skip getters
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.