Skip to content

Commit 94b94f7

Browse files
committed
Mark io_extras as no-bindings-export as its not for public use
1 parent fd8a2d9 commit 94b94f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ pub use core2::io;
9696
#[cfg(not(feature = "std"))]
9797
#[doc(hidden)]
9898
/// IO utilities public only for use by in-crate macros. These should not be used externally
99+
///
100+
/// This is not exported to bindings users as it is not intended for public consumption.
99101
pub mod io_extras {
100102
use core2::io::{self, Read, Write};
101103

@@ -158,6 +160,8 @@ pub mod io_extras {
158160
#[cfg(feature = "std")]
159161
#[doc(hidden)]
160162
/// IO utilities public only for use by in-crate macros. These should not be used externally
163+
///
164+
/// This is not exported to bindings users as it is not intended for public consumption.
161165
mod io_extras {
162166
pub fn read_to_end<D: ::std::io::Read>(mut d: D) -> Result<Vec<u8>, ::std::io::Error> {
163167
let mut buf = Vec::new();

0 commit comments

Comments
 (0)