mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-10 21:36:17 +01:00
Cleanup ChannelId
re-export
`ChannelId` was weirdly listed in the re-export section of the docs and reachable via multiple paths. Here we opt to make the `channel_id` module private and leave only the `ChannelId` struct itself exposed.
This commit is contained in:
parent
3dcdb14ce1
commit
88905126ae
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,6 @@
|
|||
#[macro_use]
|
||||
pub mod functional_test_utils;
|
||||
|
||||
pub mod channel_id;
|
||||
pub mod channelmanager;
|
||||
pub mod inbound_payment;
|
||||
pub mod msgs;
|
||||
|
@ -21,6 +20,7 @@ pub mod peer_handler;
|
|||
pub mod chan_utils;
|
||||
pub mod features;
|
||||
pub mod script;
|
||||
mod channel_id;
|
||||
|
||||
#[cfg(fuzzing)]
|
||||
pub mod peer_channel_encryptor;
|
||||
|
@ -33,7 +33,7 @@ pub mod channel;
|
|||
pub(crate) mod channel;
|
||||
|
||||
// Re-export ChannelId
|
||||
pub use self::channel_id::ChannelId;
|
||||
pub use channel_id::ChannelId;
|
||||
|
||||
pub(crate) mod onion_utils;
|
||||
mod outbound_payment;
|
||||
|
|
Loading…
Add table
Reference in a new issue