Skip to content

Commit d212ec7

Browse files
committed
key_pair: fix redundant explicit link targets
1 parent 6cdcd7b commit d212ec7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/key_pair.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl KeyPair {
7676
}
7777

7878
/// Obtains the key pair from a DER formatted key
79-
/// using the specified [`SignatureAlgorithm`](SignatureAlgorithm)
79+
/// using the specified [`SignatureAlgorithm`]
8080
///
8181
/// Same as [from_pem_and_sign_algo](Self::from_pem_and_sign_algo).
8282
///
@@ -92,11 +92,11 @@ impl KeyPair {
9292
}
9393

9494
/// Obtains the key pair from a DER formatted key
95-
/// using the specified [`SignatureAlgorithm`](SignatureAlgorithm)
95+
/// using the specified [`SignatureAlgorithm`]
9696
///
9797
/// Usually, calling this function is not neccessary and you can just call
9898
/// [`from_der`](Self::from_der) instead. That function will try to figure
99-
/// out a fitting [`SignatureAlgorithm`](SignatureAlgorithm) for the given
99+
/// out a fitting [`SignatureAlgorithm`] for the given
100100
/// key pair. However sometimes multiple signature algorithms fit for the
101101
/// same der key. In that instance, you can use this function to precisely
102102
/// specify the `SignatureAlgorithm`.

0 commit comments

Comments
 (0)