From e44713190a090156e4bffac518dad98574e411be Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 17 Mar 2021 15:56:02 -0400 Subject: [PATCH] Also correct/check links in private item documentation --- ci/check-compiles.sh | 1 + lightning/src/ln/channel.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/check-compiles.sh b/ci/check-compiles.sh index 45ade5c6a..9222f609c 100755 --- a/ci/check-compiles.sh +++ b/ci/check-compiles.sh @@ -4,4 +4,5 @@ set -x echo Testing $(git log -1 --oneline) cargo check cargo doc +cargo doc --document-private-items cd fuzz && cargo check --features=stdin_fuzz diff --git a/lightning/src/ln/channel.rs b/lightning/src/ln/channel.rs index 0cde1aa3e..16a882946 100644 --- a/lightning/src/ln/channel.rs +++ b/lightning/src/ln/channel.rs @@ -96,6 +96,7 @@ enum InboundHTLCState { /// is used to derive commitment keys, which are used to construct the /// signatures in a commitment_signed message. /// Implies AwaitingRemoteRevoke. + /// /// [BOLT #2]: https://github.com/lightningnetwork/lightning-rfc/blob/master/02-peer-protocol.md AwaitingRemoteRevokeToAnnounce(PendingHTLCStatus), /// Included in a received commitment_signed message (implying we've revoke_and_ack'd it). -- 2.39.5