From: Matt Corallo Date: Sun, 12 May 2024 00:26:19 +0000 (+0000) Subject: [UPSTREAM] Mark `io_extras` as no-bindings-export as its not pub X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=658e81ac9eb41d69e85106ccd195164d237eda0c;p=rust-lightning [UPSTREAM] Mark `io_extras` as no-bindings-export as its not pub --- diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index 3bcd5d72c..be3da4552 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -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(mut d: D) -> Result, ::std::io::Error> { let mut buf = Vec::new();