From: Matt Corallo Date: Wed, 1 May 2024 15:19:20 +0000 (+0000) Subject: Add bindings no-export tags to doc test types X-Git-Tag: v0.0.123-rc1~1^2~2^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8084cec3e48e137060f8b57ca46029e86de46383;p=rust-lightning 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. --- diff --git a/lightning/src/sign/mod.rs b/lightning/src/sign/mod.rs index 1710fe65c..1ff9db8d1 100644 --- a/lightning/src/sign/mod.rs +++ b/lightning/src/sign/mod.rs @@ -923,6 +923,8 @@ pub trait OutputSpender { // Primarily needed in doctests because of https://github.com/rust-lang/rust/issues/67295 /// A dynamic [`SignerProvider`] temporarily needed for doc tests. +/// +/// This is not exported to bindings users as it is not intended for public consumption. #[cfg(taproot)] #[doc(hidden)] #[deprecated(note = "Remove once taproot cfg is removed")] @@ -930,6 +932,8 @@ pub type DynSignerProvider = dyn SignerProvider; /// A dynamic [`SignerProvider`] temporarily needed for doc tests. +/// +/// This is not exported to bindings users as it is not intended for public consumption. #[cfg(not(taproot))] #[doc(hidden)] #[deprecated(note = "Remove once taproot cfg is removed")]