Skip to content

Commit ac5537f

Browse files
tchardingsanket1729
authored andcommitted
Improve documentation on Translator methods
Improve the documentation on the methods of the `Translator` trait.
1 parent 245bfed commit ac5537f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -396,13 +396,13 @@ where
396396
P: MiniscriptKey,
397397
Q: MiniscriptKey,
398398
{
399-
/// Provides the translation public keys P -> Q
399+
/// Translates public keys P -> Q.
400400
fn f_pk(&mut self, pk: &P) -> Result<Q, E>;
401401

402-
/// Provides the translation public keys hashes P::Hash -> Q::Hash
402+
/// Translates public key hashes P::Hash -> Q::Hash.
403403
fn f_pkh(&mut self, pkh: &P::Hash) -> Result<Q::Hash, E>;
404404

405-
/// Provides the translation from P::Sha256 -> Q::Sha256
405+
/// Translates sha256 hashes from P::Sha256 -> Q::Sha256
406406
fn f_sha256(&mut self, sha256: &P::Sha256) -> Result<Q::Sha256, E>;
407407
}
408408

0 commit comments

Comments
 (0)