Mark `io_extras` as no-bindings-export as its not for public use
authorMatt Corallo <git@bluematt.me>
Sun, 12 May 2024 00:26:19 +0000 (00:26 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 13 May 2024 18:55:22 +0000 (18:55 +0000)
lightning/src/lib.rs

index 3bcd5d72c64e19c3adf89d5c8580016582e2462c..be3da45528bad0e0f756c9419b46ba50faade4a9 100644 (file)
@@ -96,6 +96,8 @@ pub use core2::io;
 #[cfg(not(feature = "std"))]
 #[doc(hidden)]
 /// IO utilities public only for use by in-crate macros. These should not be used externally
+///
+/// This is not exported to bindings users as it is not intended for public consumption.
 pub mod io_extras {
        use core2::io::{self, Read, Write};
 
@@ -158,6 +160,8 @@ pub mod io_extras {
 #[cfg(feature = "std")]
 #[doc(hidden)]
 /// IO utilities public only for use by in-crate macros. These should not be used externally
+///
+/// This is not exported to bindings users as it is not intended for public consumption.
 mod io_extras {
        pub fn read_to_end<D: ::std::io::Read>(mut d: D) -> Result<Vec<u8>, ::std::io::Error> {
                let mut buf = Vec::new();