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.
This commit is contained in:
Tobin C. Harding 2022-11-17 09:42:22 +11:00
parent 5a546945ad
commit e3f6d23b49
1 changed files with 2 additions and 2 deletions

View File

@ -1304,10 +1304,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
/// [`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
/// equality. However, in future this API will support batch verification, which is