Skip to content

Commit 80f95b2

Browse files
committed
Update mutant exclude for lifetime syntax change
Two mutant excludes stopped working and caused a timeout in the weekly mutation testing. The lifetimes are now elided to fix a clippy error. Change the excludes to match the new syntax and kill the mutants.
1 parent 6133e10 commit 80f95b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.cargo/mutants.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ exclude_re = [
4646
"Script<T>::to_hex", # Deprecated
4747
"ScriptBuf::to_hex", # Deprecated
4848
"ScriptBuf<T>::to_hex", # Deprecated
49-
"<impl Encoder for WitnessEncoder<'a>>::current_chunk", # Replacing the return with Some(vec![]) causes an infinite loop.
50-
"<impl Encoder for WitnessEncoder<'a>>::advance", # Replacing the return with true causes an infinite loop.
49+
"<impl Encoder for WitnessEncoder<'_>>::current_chunk", # Replacing the return with Some(vec![]) causes an infinite loop.
50+
"<impl Encoder for WitnessEncoder<'_>>::advance", # Replacing the return with true causes an infinite loop.
5151
]

0 commit comments

Comments
 (0)