From: Matt Corallo Date: Wed, 17 Mar 2021 19:56:02 +0000 (-0400) Subject: Also correct/check links in private item documentation X-Git-Tag: v0.0.14~46^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e44713190a090156e4bffac518dad98574e411be;p=rust-lightning Also correct/check links in private item documentation --- diff --git a/ci/check-compiles.sh b/ci/check-compiles.sh index 45ade5c6..9222f609 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 0cde1aa3..16a88294 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).