Fix grammar in BackgroundProcessor::start docs
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 13 Jun 2022 23:18:19 +0000 (18:18 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 13 Jun 2022 23:28:01 +0000 (18:28 -0500)
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.
        ///