From 3da85c94fff54fcf535e5824bc7f06de6228dd06 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 12 May 2024 00:26:19 +0000 Subject: [PATCH] Mark `io_extras` as no-bindings-export as its not for public use --- lightning/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- 2.39.5