projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the Type trait cloneable as its contained deep in nested structs
[rust-lightning]
/
lightning
/
src
/
lib.rs
diff --git
a/lightning/src/lib.rs
b/lightning/src/lib.rs
index 3f88a208e9d00da1976fafd6e42fbbf6c6ace030..ba6d6bc71910e53ad37236dc30b6e19cd947a4d9 100644
(file)
--- a/
lightning/src/lib.rs
+++ b/
lightning/src/lib.rs
@@
-78,9
+78,11
@@
pub mod ln;
pub mod routing;
#[cfg(feature = "std")]
pub mod routing;
#[cfg(feature = "std")]
-use std::io;
+/// Re-export of either `core2::io` or `std::io`, depending on the `std` feature flag.
+pub use std::io;
#[cfg(not(feature = "std"))]
#[cfg(not(feature = "std"))]
-use core2::io;
+/// Re-export of either `core2::io` or `std::io`, depending on the `std` feature flag.
+pub use core2::io;
#[cfg(not(feature = "std"))]
mod io_extras {
#[cfg(not(feature = "std"))]
mod io_extras {