Skip to content

Commit 8084cec

Browse files
committed
Add bindings no-export tags to doc test types
We don't actually intend these to be public as they're just for docs but the bindings don't currently parse `#[doc(hidden)]` as "no-export" so we add manual no-export tags as well.
1 parent 84070e1 commit 8084cec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/sign/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,13 +923,17 @@ pub trait OutputSpender {
923923

924924
// Primarily needed in doctests because of https://github.com/rust-lang/rust/issues/67295
925925
/// A dynamic [`SignerProvider`] temporarily needed for doc tests.
926+
///
927+
/// This is not exported to bindings users as it is not intended for public consumption.
926928
#[cfg(taproot)]
927929
#[doc(hidden)]
928930
#[deprecated(note = "Remove once taproot cfg is removed")]
929931
pub type DynSignerProvider =
930932
dyn SignerProvider<EcdsaSigner = InMemorySigner, TaprootSigner = InMemorySigner>;
931933

932934
/// A dynamic [`SignerProvider`] temporarily needed for doc tests.
935+
///
936+
/// This is not exported to bindings users as it is not intended for public consumption.
933937
#[cfg(not(taproot))]
934938
#[doc(hidden)]
935939
#[deprecated(note = "Remove once taproot cfg is removed")]

0 commit comments

Comments
 (0)