Skip to content

Commit 7a00b83

Browse files
committed
Merge #516: Fix broken links
ade888e Check for broken links in CI (Tobin C. Harding) e3f6d23 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 ade888e Tree-SHA512: febe4dc3d8831d59edcc6ae1e6b31c48bc1ab8765a7c074573657350e906cd877ef2ed486adc656b09f3e2471d11cd3e57072a33f2f0279eb9cd13b2102f1cd7
2 parents ab9fdf0 + ade888e commit 7a00b83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contrib/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fi
6464

6565
# Build the docs if told to (this only works with the nightly toolchain)
6666
if [ "$DO_DOCS" = true ]; then
67-
RUSTDOCFLAGS="--cfg docsrs" cargo doc --all --features="$FEATURES"
67+
RUSTDOCFLAGS="--cfg docsrs" cargo rustdoc --features="$FEATURES" -- -D rustdoc::broken-intra-doc-links
6868
fi
6969

7070
# Webassembly stuff

src/key.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,10 +1301,10 @@ impl XOnlyPublicKey {
13011301
}
13021302
}
13031303

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

0 commit comments

Comments
 (0)