ade888e922 Check for broken links in CI (Tobin C. Harding)
e3f6d23b49 Fix incorrect method name in docs (Tobin C. Harding)

Pull request description:

  - Patch 1: Fix broken link (links to recently removed deprecated function)
  - Patch 2: Add `-- -D rustdoc::broken-intra-doc-links` to CI

  cc dpc, wasn't on this repo but you brought this to my attention, thanks man!

ACKs for top commit:
  apoelstra:
    ACK ade888e922

Tree-SHA512: febe4dc3d8831d59edcc6ae1e6b31c48bc1ab8765a7c074573657350e906cd877ef2ed486adc656b09f3e2471d11cd3e57072a33f2f0279eb9cd13b2102f1cd7
This commit is contained in:
Andrew Poelstra 2022-11-17 03:02:29 +00:00
commit 7a00b8310d
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ fi
# Build the docs if told to (this only works with the nightly toolchain) # Build the docs if told to (this only works with the nightly toolchain)
if [ "$DO_DOCS" = true ]; then if [ "$DO_DOCS" = true ]; then
RUSTDOCFLAGS="--cfg docsrs" cargo doc --all --features="$FEATURES" RUSTDOCFLAGS="--cfg docsrs" cargo rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links
fi fi
# Webassembly stuff # Webassembly stuff

View File

@ -1301,10 +1301,10 @@ impl XOnlyPublicKey {
} }
} }
/// Verifies that a tweak produced by [`XOnlyPublicKey::tweak_add_assign`] was computed correctly. /// Verifies that a tweak produced by [`XOnlyPublicKey::add_tweak`] was computed correctly.
/// ///
/// Should be called on the original untweaked key. Takes the tweaked key and output parity from /// Should be called on the original untweaked key. Takes the tweaked key and output parity from
/// [`XOnlyPublicKey::tweak_add_assign`] as input. /// [`XOnlyPublicKey::add_tweak`] as input.
/// ///
/// Currently this is not much more efficient than just recomputing the tweak and checking /// Currently this is not much more efficient than just recomputing the tweak and checking
/// equality. However, in future this API will support batch verification, which is /// equality. However, in future this API will support batch verification, which is