Skip to content

Commit 042275a

Browse files
committed
f drop `s
1 parent d3697eb commit 042275a

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

background-processor/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ impl BackgroundProcessor {
5757
/// to one or more backup services. See [`ChannelManager::write`] for writing out a [`ChannelManager`].
5858
/// See [`FilesystemPersister::persist_manager`] for Rust-Lightning's provided implementation.
5959
///
60-
/// [`thread_handle`]: `BackgroundProcessor::thread_handle`
61-
/// [`ChannelManager`]: `lightning::ln::channelmanager::ChannelManager`
62-
/// [`ChannelManager::write`]: `lightning::ln::channelmanager::ChannelManager#impl-Writeable`
63-
/// [`FilesystemPersister::persist_manager`]: `lightning_persister::FilesystemPersister::persist_manager`
60+
/// [`thread_handle`]: BackgroundProcessor::thread_handle
61+
/// [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager
62+
/// [`ChannelManager::write`]: lightning::ln::channelmanager::ChannelManager#impl-Writeable
63+
/// [`FilesystemPersister::persist_manager`]: lightning_persister::FilesystemPersister::persist_manager
6464
pub fn start<PM, Signer, M, T, K, F, L>(persist_manager: PM, manager: Arc<ChannelManager<Signer, Arc<M>, Arc<T>, Arc<K>, Arc<F>, Arc<L>>>, logger: Arc<L>) -> Self
6565
where Signer: 'static + Sign,
6666
M: 'static + chain::Watch<Signer>,

lightning-block-sync/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub trait BlockSource : Sync + Send {
7070
/// When polling a block source, [`Poll`] implementations may pass the height to [`get_header`]
7171
/// to allow for a more efficient lookup.
7272
///
73-
/// [`get_header`]: `Self::get_header`
73+
/// [`get_header`]: Self::get_header
7474
fn get_best_block<'a>(&'a mut self) -> AsyncBlockSourceResult<(BlockHash, Option<u32>)>;
7575
}
7676

@@ -216,7 +216,7 @@ impl<'a, P: Poll, C: Cache, L: Deref> SpvClient<'a, P, C, L> where L::Target: ch
216216
/// * `header_cache` is used to look up and store headers on the best chain
217217
/// * `chain_listener` is notified of any blocks connected or disconnected
218218
///
219-
/// [`poll_best_tip`]: `SpvClient::poll_best_tip`
219+
/// [`poll_best_tip`]: SpvClient::poll_best_tip
220220
pub fn new(
221221
chain_tip: ValidatedBlockHeader,
222222
chain_poller: P,
@@ -271,7 +271,7 @@ impl<'a, P: Poll, C: Cache, L: Deref> SpvClient<'a, P, C, L> where L::Target: ch
271271

272272
/// Notifies [listeners] of blocks that have been connected or disconnected from the chain.
273273
///
274-
/// [listeners]: `lightning::chain::Listen`
274+
/// [listeners]: lightning::chain::Listen
275275
pub struct ChainNotifier<'a, C: Cache, L: Deref> where L::Target: chain::Listen {
276276
/// Cache for looking up headers before fetching from a block source.
277277
header_cache: &'a mut C,

lightning/src/chain/chainmonitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ use std::ops::Deref;
4747
/// or used independently to monitor channels remotely. See the [module-level documentation] for
4848
/// details.
4949
///
50-
/// [`ChannelManager`]: `crate::ln::channelmanager::ChannelManager`
51-
/// [module-level documentation]: `crate::chain::chainmonitor`
50+
/// [`ChannelManager`]: crate::ln::channelmanager::ChannelManager
51+
/// [module-level documentation]: crate::chain::chainmonitor
5252
pub struct ChainMonitor<ChannelSigner: Sign, C: Deref, T: Deref, F: Deref, L: Deref, P: Deref>
5353
where C::Target: chain::Filter,
5454
T::Target: BroadcasterInterface,

lightning/src/chain/mod.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,28 @@ pub trait Listen {
7575
/// funds in the channel. See [`ChannelMonitorUpdateErr`] for more details about how to handle
7676
/// multiple instances.
7777
///
78-
/// [`ChannelMonitor`]: `channelmonitor::ChannelMonitor`
79-
/// [`ChannelMonitorUpdateErr`]: `channelmonitor::ChannelMonitorUpdateErr`
80-
/// [`PermanentFailure`]: `channelmonitor::ChannelMonitorUpdateErr::PermanentFailure`
78+
/// [`ChannelMonitor`]: channelmonitor::ChannelMonitor
79+
/// [`ChannelMonitorUpdateErr`]: channelmonitor::ChannelMonitorUpdateErr
80+
/// [`PermanentFailure`]: channelmonitor::ChannelMonitorUpdateErr::PermanentFailure
8181
pub trait Watch<ChannelSigner: Sign>: Send + Sync {
8282
/// Watches a channel identified by `funding_txo` using `monitor`.
8383
///
8484
/// Implementations are responsible for watching the chain for the funding transaction along
8585
/// with any spends of outputs returned by [`get_outputs_to_watch`]. In practice, this means
8686
/// calling [`block_connected`] and [`block_disconnected`] on the monitor.
8787
///
88-
/// [`get_outputs_to_watch`]: `channelmonitor::ChannelMonitor::get_outputs_to_watch
89-
/// [`block_connected`]: `channelmonitor::ChannelMonitor::block_connected`
90-
/// [`block_disconnected`]: `channelmonitor::ChannelMonitor::block_disconnected`
88+
/// [`get_outputs_to_watch`]: channelmonitor::ChannelMonitor::get_outputs_to_watch
89+
/// [`block_connected`]: channelmonitor::ChannelMonitor::block_connected
90+
/// [`block_disconnected`]: channelmonitor::ChannelMonitor::block_disconnected
9191
fn watch_channel(&self, funding_txo: OutPoint, monitor: ChannelMonitor<ChannelSigner>) -> Result<(), ChannelMonitorUpdateErr>;
9292

9393
/// Updates a channel identified by `funding_txo` by applying `update` to its monitor.
9494
///
9595
/// Implementations must call [`update_monitor`] with the given update. See
9696
/// [`ChannelMonitorUpdateErr`] for invariants around returning an error.
9797
///
98-
/// [`update_monitor`]: `channelmonitor::ChannelMonitor::update_monitor`
99-
/// [`ChannelMonitorUpdateErr`]: `channelmonitor::ChannelMonitorUpdateErr
98+
/// [`update_monitor`]: channelmonitor::ChannelMonitor::update_monitor
99+
/// [`ChannelMonitorUpdateErr`]: channelmonitor::ChannelMonitorUpdateErr
100100
fn update_channel(&self, funding_txo: OutPoint, update: ChannelMonitorUpdate) -> Result<(), ChannelMonitorUpdateErr>;
101101

102102
/// Returns any monitor events since the last call. Subsequent calls must only return new
@@ -121,7 +121,7 @@ pub trait Watch<ChannelSigner: Sign>: Send + Sync {
121121
/// processed later. Then, in order to block until the data has been processed, any [`Watch`]
122122
/// invocation that has called the `Filter` must return [`TemporaryFailure`].
123123
///
124-
/// [`TemporaryFailure`]: `channelmonitor::ChannelMonitorUpdateErr::TemporaryFailure`
124+
/// [`TemporaryFailure`]: channelmonitor::ChannelMonitorUpdateErr::TemporaryFailure
125125
/// [BIP 157]: https://github.com/bitcoin/bips/blob/master/bip-0157.mediawiki
126126
/// [BIP 158]: https://github.com/bitcoin/bips/blob/master/bip-0158.mediawiki
127127
pub trait Filter: Send + Sync {

lightning/src/ln/features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//! And the implementation can interpret a feature if the feature is known to it.
2121
//!
2222
//! [BOLT #9]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md
23-
//! [messages]: `crate::ln::msgs`
23+
//! [messages]: crate::ln::msgs
2424
2525
use std::{cmp, fmt};
2626
use std::marker::PhantomData;

0 commit comments

Comments
 (0)