We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3246554 + b4a9b96 commit f84ce03Copy full SHA for f84ce03
lightning/src/lib.rs
@@ -78,9 +78,11 @@ pub mod ln;
78
pub mod routing;
79
80
#[cfg(feature = "std")]
81
-use std::io;
+/// Re-export of either `core2::io` or `std::io`, depending on the `std` feature flag.
82
+pub use std::io;
83
#[cfg(not(feature = "std"))]
-use core2::io;
84
85
+pub use core2::io;
86
87
88
mod io_extras {
0 commit comments