Skip to content

Commit e3f6d23

Browse files
committed
Fix incorrect method name in docs
We are currently not checking for broken doc links in CI. Recently we removed a bunch of deprecated functions, one of which was still referred to in rustdocs. Fix the docs to use the correct new method name.
1 parent 5a54694 commit e3f6d23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/key.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,10 +1304,10 @@ impl XOnlyPublicKey {
13041304
}
13051305
}
13061306

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

0 commit comments

Comments
 (0)