From 6d99d3c0615bedd295d7c64358ab1e801df36faa Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 23 Jan 2023 13:26:15 +1100 Subject: [PATCH] Use ignore to stop rustdoc code from being built Currently we have an attempted tag ```compile_fail that seems to be aiming at allowing code that does not build to exist in rustdoc. This is causing an error when running tests. No clue how this made it through CI. Use ```ignore to prevent rustdoc code from being built. --- bitcoin/src/address.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/address.rs b/bitcoin/src/address.rs index de76ad79..24665fa2 100644 --- a/bitcoin/src/address.rs +++ b/bitcoin/src/address.rs @@ -637,7 +637,7 @@ impl NetworkValidation for NetworkUnchecked {} /// assert_eq!(address.to_string(), "132F25rTsvBdp9JzLLBHP5mvGY66i1xdiM"); /// ``` /// -/// ```compile_fail +/// ```ignore /// # use std::str::FromStr; /// # use bitcoin::address::{Address, NetworkChecked}; /// let address: Address = Address::from_str("132F25rTsvBdp9JzLLBHP5mvGY66i1xdiM")