Fix grammar in BackgroundProcessor::start docs
[rust-lightning] / lightning-background-processor / src / lib.rs
index b2edc2301efda2b39224cf557b82b313ef46890f..341e53099460cd811675bb7c1984395d44cca512 100644 (file)
@@ -202,7 +202,7 @@ impl BackgroundProcessor {
        ///
        /// # Rapid Gossip Sync
        ///
-       /// If rapid gossip sync is meant to run at startup, pass a [`RapidGossipSync`] to `gossip_sync`
+       /// If rapid gossip sync is meant to run at startup, pass [`RapidGossipSync`] via `gossip_sync`
        /// to indicate that the [`BackgroundProcessor`] should not prune the [`NetworkGraph`] instance
        /// until the [`RapidGossipSync`] instance completes its first sync.
        ///