diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 6ce3fc24d74..ed7edeba601 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -1654,10 +1654,9 @@ where /// /// ``` /// # use lightning::events::{Event, EventsProvider, PaymentPurpose}; -/// # use lightning::ln::channelmanager::AChannelManager; -/// # use lightning::offers::parse::Bolt12SemanticError; +/// # use lightning::ln::channelmanager::{AChannelManager, Bolt12CreationError}; /// # -/// # fn example(channel_manager: T) -> Result<(), Bolt12SemanticError> { +/// # fn example(channel_manager: T) -> Result<(), Bolt12CreationError> { /// # let channel_manager = channel_manager.get_cm(); /// # let absolute_expiry = None; /// let offer = channel_manager @@ -1760,7 +1759,6 @@ where /// # use core::time::Duration; /// # use lightning::events::{Event, EventsProvider}; /// # use lightning::ln::channelmanager::{AChannelManager, Bolt12CreationError, PaymentId, RecentPaymentDetails, Retry}; -/// # use lightning::offers::parse::Bolt12SemanticError; /// # /// # fn example( /// # channel_manager: T, amount_msats: u64, absolute_expiry: Duration, retry: Retry,