Ignore doc compile error

With the stricter doc tests required to pick up unused imports etc. the
`compile_fail` tag also creates an Error.

Changed `compile_fail` to `ignore` to remove the Error.
This commit is contained in:
Jamil Lambert, PhD 2024-09-19 15:58:29 +01:00
parent 2105e63680
commit 46386337b0
No known key found for this signature in database
GPG Key ID: 54DC29234AB5D2C0
1 changed files with 2 additions and 1 deletions

View File

@ -1127,7 +1127,8 @@ impl<R: BorrowMut<Transaction>> SighashCache<R> {
///
/// # Examples
///
/// ```compile_fail
/// ```ignore
/// # // Example is an incomplete section of code that does not compile by itself
/// let mut sighasher = SighashCache::new(&mut tx_to_sign);
/// let sighash = sighasher.p2wpkh_signature_hash(input_index, &utxo.script_pubkey, amount, sighash_type)?;
///